@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface Schedule
Modifier and Type | Fields and Description |
---|---|
static java.lang.String |
NO_PROPERTY |
Modifier and Type | Optional Element and Description |
---|---|
long |
delay
The delay between executions.
|
java.lang.String |
delayProperty
The property to read the delay from.
|
long |
initialDelay
The delay before it should first be run.
|
java.lang.String |
initialDelayProperty
The property to read the initial delay from.
|
java.util.concurrent.TimeUnit |
timeUnit
The time unit, defaults to milliseconds
|
java.lang.String |
timeUnitProperty
The property to read the time unit from.
|
public abstract long delay
public abstract java.lang.String delayProperty
public abstract java.util.concurrent.TimeUnit timeUnit
public abstract java.lang.String timeUnitProperty
Copyright © 2014. All Rights Reserved.