| Modifier and Type | Required Element and Description |
|---|---|
long |
value
The period (in case of fixed rate scheduling) resp. the delay (in case of
fixed delay scheduling).
|
| Modifier and Type | Optional Element and Description |
|---|---|
long |
initialDelay
The initial delay to wait before first execution of the annotated method.
|
SimpleScheduleType |
scheduleType
Defines the way in which the execution is scheduled at a
ScheduledExecutorService implementation. |
TimeUnit |
timeUnit
The time unit in which the
value() and initialDelay()
fields are interpreted. |
public abstract long value
timeUnit() field.public abstract TimeUnit timeUnit
value() and initialDelay()
fields are interpreted. Defaults to milliseconds.public abstract long initialDelay
Injector. By default, this value is
interpreted as milliseconds. You can change this by additionally
supplying the timeUnit() field.public abstract SimpleScheduleType scheduleType
ScheduledExecutorService implementation.Copyright © 2014–2016. All rights reserved.