|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeScheduler
This service provides a way to regularly schedule jobs.
Field Summary | |
---|---|
static java.lang.String |
ROLE
|
Method Summary | |
---|---|
void |
addTrigger(java.lang.String name,
TimeTrigger trigger,
Target target)
Schedule a time based trigger. |
void |
removeTrigger(java.lang.String name)
Remove a scheduled trigger by name. |
void |
resetTrigger(java.lang.String name)
Force a trigger time to be recalculated. |
void |
start()
|
Field Detail |
---|
static final java.lang.String ROLE
Method Detail |
---|
void addTrigger(java.lang.String name, TimeTrigger trigger, Target target)
name
- the name of the triggertrigger
- the triggertarget
- the targetvoid removeTrigger(java.lang.String name) throws java.util.NoSuchElementException
name
- the name of the trigger
java.util.NoSuchElementException
- if no trigger exists with that namevoid resetTrigger(java.lang.String name) throws java.util.NoSuchElementException
name
- the name of the trigger
java.util.NoSuchElementException
- if no trigger exists with that namevoid start()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |