public class YTimer
extends java.util.Timer
Modifier and Type | Class and Description |
---|---|
static class |
YTimer.TimeUnit |
Modifier and Type | Method and Description |
---|---|
void |
cancelAll() |
void |
cancelTimersForCase(java.lang.String caseID) |
YTimedObject |
cancelTimerTask(java.lang.String itemID) |
static YTimer |
getInstance() |
boolean |
hasActiveTimer(java.lang.String itemID) |
long |
schedule(YTimedObject timee,
java.util.Date expiryTime) |
long |
schedule(YTimedObject timee,
javax.xml.datatype.Duration duration) |
long |
schedule(YTimedObject timee,
long durationAsMilliseconds) |
long |
schedule(YTimedObject timee,
long count,
YTimer.TimeUnit unit) |
void |
shutdown() |
public static YTimer getInstance()
public boolean hasActiveTimer(java.lang.String itemID)
public YTimedObject cancelTimerTask(java.lang.String itemID)
public void cancelTimersForCase(java.lang.String caseID)
public void cancelAll()
public void shutdown()
public long schedule(YTimedObject timee, long durationAsMilliseconds)
public long schedule(YTimedObject timee, java.util.Date expiryTime)
public long schedule(YTimedObject timee, javax.xml.datatype.Duration duration)
public long schedule(YTimedObject timee, long count, YTimer.TimeUnit unit)
Copyright © 2004-2014 The YAWL Foundation.