Methods Summary |
---|
public void | cancel()Cancel timer.
|
public long | getContainerId()ejb container corresponding to timed object that created timer.
|
public java.util.Date | getCreationTime()When timer was created. Informational only.
|
public java.io.Serializable | getInfo()Application info associated with timer. Can be null.
|
public java.util.Date | getInitialExpiration()Time of first timer expiration.
|
public long | getIntervalDuration()For periodic timers, number of milli-seconds between
timeouts. 0 for single-action timers.
|
public java.util.Date | getLastExpiration()This is the last time that a timer expiration completed
successfully or null if this field has not been set.
|
public java.lang.String | getOwnerId()Id of server instance that owns timer.
|
public java.lang.Object | getTimedObjectPrimaryKey()Holds primary key for entity timed object. Null otherwise.
|
public boolean | isActive()Check if timer is in an active state.
|
public boolean | isCancelled()Check if timer is in a cancelled state.
|
public boolean | repeats()True if interval timer. False if single-action timer.
|
public void | setLastExpiration(java.util.Date lastExpiration)This is the last time that a timer expiration completed
successfully or null to clear this value.
|
public void | setOwnerId(java.lang.String ownerId)Changes timer owner. Typically done during timer migration.
|