@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Scheduled
ScheduledTaskClassListener| Modifier and Type | Required Element and Description |
|---|---|
String[] |
value
Array of cron expressions.
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
disabled
If this scheduler should be disabled ignored
|
boolean |
instancePerCronExpression
Effective only in case if
value() has more than 1 element. |
boolean |
longRunningTask
Indicates if this task is long-running task or not.
|
public abstract String[] value
public abstract boolean instancePerCronExpression
value() has more than 1 element.Copyright © 2014–2015. All rights reserved.