|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TimerEvent
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 |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||