public interface TimerEvent
The event type name of timer events is
"javax.slee.facilities.TimerEvent
".
Modifier and Type | Method and Description |
---|---|
long |
getExpiryTime()
Get the time that the timer event was actually fired.
|
int |
getMissedRepetitions()
Get the number of timer events missed between the firing of the timer's
last timer event and this timer event.
|
int |
getNumRepetitions()
Get the number of repetitions the timer was set with.
|
long |
getPeriod()
Get the period of the timer.
|
int |
getRemainingRepetitions()
Get the number of repetitions remaining for the timer.
|
long |
getScheduledTime()
Get the time that this timer event was scheduled to be fired.
|
TimerID |
getTimerID()
Get the timer ID of the timer that fired this event.
|
TimerID getTimerID()
long getScheduledTime()
getExpiryTime()
long getExpiryTime()
getScheduledTime()
long getPeriod()
Long.MAX_VALUE
.int getNumRepetitions()
0
.
For non-repeating timers the value returned is 1
.int getRemainingRepetitions()
Integer.MAX_VALUE
.
For finitely-repeating timers the value is getNumRepetitions() -
iteration number
. For non-repeating timers, the value returned
is 0
.int getMissedRepetitions()