java.io.Serializable
public interface Timer
extends java.io.Serializable
Modifier and Type | Method | Description |
---|---|---|
long |
getExpirationCount() |
Total number of times the timer expired after creation.
|
java.lang.String |
getListenerClassName() |
Class name of listener that created the timer
|
long[] |
getPastExpirationTimes() |
Returns the past times when the timer had expired.
|
long |
getPeriod() |
Return the period used to compute the next time this
timer will expire.
|
long |
getTimeout() |
Return the time at which this timer will expire.
|
java.lang.String |
getTimerManagerName() |
TimerManager name used to submit this timer.
|
boolean |
isCancelled() |
Timer is cancelled and will not execute.
|
boolean |
isStopped() |
This flag indicates that the stop listener will be invoked instead
of the timer listener when it is executed.
|
java.lang.String getTimerManagerName()
long getTimeout()
long getPeriod()
boolean isStopped()
boolean isCancelled()
long[] getPastExpirationTimes()
long getExpirationCount()
java.lang.String getListenerClassName()