ScheduleOptions |
Scheduler.AT(Date date) |
Create a schedule options to fire a job once at a specific date.
|
ScheduleOptions |
Scheduler.AT(Date date,
int times,
long period) |
Create a schedule options to fire a job period starting at a specific date.
|
ScheduleOptions |
ScheduleOptions.canRunConcurrently(boolean flag) |
Flag indicating whether the job can be run concurrently.
|
ScheduleOptions |
ScheduleOptions.config(Map<String,Serializable> config) |
Add optional configuration for the job.
|
ScheduleOptions |
Scheduler.EXPR(String expression) |
Create a schedule options to schedule the job based on the expression.
|
ScheduleOptions |
ScheduleOptions.name(String name) |
Sets the name of the job.
|
ScheduleOptions |
Scheduler.NOW() |
Create a schedule options to fire a job immediately and only once.
|
ScheduleOptions |
Scheduler.NOW(int times,
long period) |
Create a schedule options to fire a job immediately more than once.
|
ScheduleOptions |
ScheduleOptions.onInstancesOnly(String[] slingIds) |
List of Sling IDs this job should be run on.
|
ScheduleOptions |
ScheduleOptions.onLeaderOnly(boolean flag) |
Flag indicating whether the job should only be run on the leader.
|
ScheduleOptions |
ScheduleOptions.onSingleInstanceOnly(boolean flag) |
Flag indicating whether the job should only be run on a single instance in a cluster
This defaults to false.
|
ScheduleOptions |
ScheduleOptions.threadPoolName(String name) |
Define the thread pool to be used.
|