public class YWorkItemTimer extends java.lang.Object implements YTimedObject
Modifier and Type | Class and Description |
---|---|
static class |
YWorkItemTimer.State |
static class |
YWorkItemTimer.Trigger |
Constructor and Description |
---|
YWorkItemTimer() |
YWorkItemTimer(java.lang.String workItemID,
java.util.Date expiryTime,
boolean persisting) |
YWorkItemTimer(java.lang.String workItemID,
javax.xml.datatype.Duration duration,
boolean persisting) |
YWorkItemTimer(java.lang.String workItemID,
long msec,
boolean persisting) |
YWorkItemTimer(java.lang.String workItemID,
long units,
YTimer.TimeUnit interval,
boolean persisting) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
boolean |
equals(java.lang.Object other) |
long |
getEndTime() |
java.lang.String |
getOwnerID() |
void |
handleTimerExpiry() |
int |
hashCode() |
void |
setEndTime(long time) |
void |
setOwnerID(java.lang.String id) |
void |
setPersisting(boolean persist) |
void |
unpersistThis() |
public YWorkItemTimer()
public YWorkItemTimer(java.lang.String workItemID, long msec, boolean persisting)
public YWorkItemTimer(java.lang.String workItemID, java.util.Date expiryTime, boolean persisting)
public YWorkItemTimer(java.lang.String workItemID, javax.xml.datatype.Duration duration, boolean persisting)
public YWorkItemTimer(java.lang.String workItemID, long units, YTimer.TimeUnit interval, boolean persisting)
public java.lang.String getOwnerID()
getOwnerID
in interface YTimedObject
public void setOwnerID(java.lang.String id)
public long getEndTime()
public void setEndTime(long time)
public void setPersisting(boolean persist)
public void unpersistThis()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void handleTimerExpiry()
handleTimerExpiry
in interface YTimedObject
public void cancel()
cancel
in interface YTimedObject
Copyright © 2004-2014 The YAWL Foundation.