|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PeriodicTaskHandle
Provides facilities for managing a Task
scheduled with the TaskManager
to run periodically. Classes that implement
PeriodicTaskHandle
must also implement Serializable
.
TaskManager.schedulePeriodicTask
Method Summary | |
---|---|
void |
cancel()
Cancels attempts to run the associated task in future periods. |
Method Detail |
---|
void cancel()
TaskManager
. The
system will make an effort to flag subsequent references to the removed
object by throwing ObjectNotFoundException
when this method is
called, although that behavior is not guaranteed.
ObjectNotFoundException
- if the task has already been cancelled
and removed
TransactionException
- if the operation failed because of a
problem with the current transaction
|
Project Darkstar, Version 0.9.9.6 2009-05-08 15:39:40 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |