|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Schedule
Schedules the annotated method for execution
Optional Element Summary | |
---|---|
long |
delay
The delay between executions. |
String |
delayProperty
The property to read the delay from. |
long |
initialDelay
The delay before it should first be run. |
String |
initialDelayProperty
The property to read the initial delay from. |
TimeUnit |
timeUnit
The time unit, defaults to milliseconds |
String |
timeUnitProperty
The property to read the time unit from. |
public abstract long delay
public abstract String delayProperty
public abstract TimeUnit timeUnit
public abstract String timeUnitProperty
public abstract long initialDelay
public abstract String initialDelayProperty
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |