|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by timer events generated by the Timer Facility.
The event type name of timer events is
"javax.slee.facilities.TimerEvent
".
Method Summary | |
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. |
Method Detail |
public TimerID getTimerID()
public long getScheduledTime()
getExpiryTime()
public long getExpiryTime()
getScheduledTime()
public long getPeriod()
Long.MAX_VALUE
.public int getNumRepetitions()
0
.
For non-repeating timers the value returned is 1
.public int getRemainingRepetitions()
Integer.MAX_VALUE
.
For finitely-repeating timers the value is getNumRepetitions() -
iteration number
. For non-repeating timers, the value returned
is 0
.public int getMissedRepetitions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |