|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimerSession
Method Summary | |
---|---|
void |
cancel(Timer timer)
Cancels a timer. |
void |
schedule(Timer timer)
Schedule the execution of a timer. |
Method Detail |
---|
void schedule(Timer timer)
timerImpl
- the timer to be executed.
java.lang.IllegalArgumentException
- if the timer is null or if its activity is null or if its dueDate
is null or if its dueDate is negative or if its dueDate is past
or if its dueDate is equals to Long.MAX_VALUEvoid cancel(Timer timer)
timerImpl
- the timer to be cancelled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |