|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UTTimer
Method Summary | |
---|---|
UTTimerEvent |
addEvent(long when,
UTTimerEventPerformer performer)
Create a single-shot event with delay |
UTTimerEvent |
addPeriodicEvent(long periodic_millis,
UTTimerEventPerformer performer)
Create a periodic event that will fire every specified number of milliseconds until cancelled or the timer is destroyed |
void |
destroy()
Releases resources associated with this timer and renders it unusable |
Method Detail |
---|
UTTimerEvent addEvent(long when, UTTimerEventPerformer performer)
when
- when it is to occur (absolute time, not relative)performer
-
UTTimerEvent addPeriodicEvent(long periodic_millis, UTTimerEventPerformer performer)
periodic_millis
- performer
-
void destroy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |