|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ScheduleOptions | |
|---|---|
| org.apache.sling.commons.scheduler | |
| org.apache.sling.commons.scheduler.impl | |
| Uses of ScheduleOptions in org.apache.sling.commons.scheduler |
|---|
| Methods in org.apache.sling.commons.scheduler that return ScheduleOptions | |
|---|---|
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. |
| Methods in org.apache.sling.commons.scheduler with parameters of type ScheduleOptions | |
|---|---|
boolean |
Scheduler.schedule(Object job,
ScheduleOptions options)
Schedule a job based on the options. |
| Uses of ScheduleOptions in org.apache.sling.commons.scheduler.impl |
|---|
| Classes in org.apache.sling.commons.scheduler.impl that implement ScheduleOptions | |
|---|---|
class |
InternalScheduleOptions
Scheduler options provide an extensible way of defining how to schedule a job. |
| Methods in org.apache.sling.commons.scheduler.impl that return ScheduleOptions | |
|---|---|
ScheduleOptions |
QuartzScheduler.AT(Date date)
|
ScheduleOptions |
QuartzScheduler.AT(Date date,
int times,
long period)
|
ScheduleOptions |
InternalScheduleOptions.canRunConcurrently(boolean flag)
|
ScheduleOptions |
InternalScheduleOptions.config(Map<String,Serializable> config)
|
ScheduleOptions |
QuartzScheduler.EXPR(String expression)
|
ScheduleOptions |
InternalScheduleOptions.name(String name)
|
ScheduleOptions |
QuartzScheduler.NOW()
|
ScheduleOptions |
QuartzScheduler.NOW(int times,
long period)
|
ScheduleOptions |
InternalScheduleOptions.onInstancesOnly(String[] slingIds)
|
ScheduleOptions |
InternalScheduleOptions.onLeaderOnly(boolean flag)
|
ScheduleOptions |
InternalScheduleOptions.onSingleInstanceOnly(boolean flag)
|
| Methods in org.apache.sling.commons.scheduler.impl with parameters of type ScheduleOptions | |
|---|---|
boolean |
QuartzScheduler.schedule(Object job,
ScheduleOptions options)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||