A C E F G J N O P R S T U V 

A

addJob(String, Object, Map<String, Serializable>, String, boolean) - Method in interface org.apache.sling.commons.scheduler.Scheduler
addPeriodicJob(String, Object, Map<String, Serializable>, long, boolean) - Method in interface org.apache.sling.commons.scheduler.Scheduler
addPeriodicJob(String, Object, Map<String, Serializable>, long, boolean, boolean) - Method in interface org.apache.sling.commons.scheduler.Scheduler
AT(Date) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Create a schedule options to fire a job once at a specific date.
AT(Date, int, long) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Create a schedule options to fire a job period starting at a specific date.

C

canRunConcurrently(boolean) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
Flag indicating whether the job can be run concurrently.
config(Map<String, Serializable>) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
Add optional configuration for the job.

E

execute(JobContext) - Method in interface org.apache.sling.commons.scheduler.Job
Execute this job.
EXPR(String) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Create a schedule options to schedule the job based on the expression.

F

fireJob(Object, Map<String, Serializable>) - Method in interface org.apache.sling.commons.scheduler.Scheduler
fireJob(Object, Map<String, Serializable>, int, long) - Method in interface org.apache.sling.commons.scheduler.Scheduler
fireJobAt(String, Object, Map<String, Serializable>, Date) - Method in interface org.apache.sling.commons.scheduler.Scheduler
fireJobAt(String, Object, Map<String, Serializable>, Date, int, long) - Method in interface org.apache.sling.commons.scheduler.Scheduler

G

getConfiguration() - Method in interface org.apache.sling.commons.scheduler.JobContext
Get the configuration provided when the job was scheduled.
getName() - Method in interface org.apache.sling.commons.scheduler.JobContext
Get the name of the scheduled job.

J

Job - Interface in org.apache.sling.commons.scheduler
A job is executed by the Scheduler service.
JobContext - Interface in org.apache.sling.commons.scheduler
The context for a Job.

N

name(String) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
Sets the name of the job.
NOW() - Method in interface org.apache.sling.commons.scheduler.Scheduler
Create a schedule options to fire a job immediately and only once.
NOW(int, long) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Create a schedule options to fire a job immediately more than once.

O

onInstancesOnly(String[]) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
List of Sling IDs this job should be run on.
onLeaderOnly(boolean) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
Flag indicating whether the job should only be run on the leader.
onSingleInstanceOnly(boolean) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
Flag indicating whether the job should only be run on a single instance in a cluster This defaults to false.
org.apache.sling.commons.scheduler - package org.apache.sling.commons.scheduler
 

P

PROPERTY_SCHEDULER_CONCURRENT - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define if the job can be run concurrently.
PROPERTY_SCHEDULER_EXPRESSION - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define the cron expression for a job.
PROPERTY_SCHEDULER_IMMEDIATE - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define if a periodically job should be scheduled immediate.
PROPERTY_SCHEDULER_NAME - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define the job name.
PROPERTY_SCHEDULER_PERIOD - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define the period for a job.
PROPERTY_SCHEDULER_RUN_ON - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define the instances this job should run on.
PROPERTY_SCHEDULER_THREAD_POOL - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define the thread pool to be used.
PROPERTY_SCHEDULER_TIMES - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the optional configuration property to define the number of times the job should be executed when Scheduler.PROPERTY_SCHEDULER_PERIOD is defined.

R

removeJob(String) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Deprecated.

S

schedule(Object, ScheduleOptions) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Schedule a job based on the options.
ScheduleOptions - Interface in org.apache.sling.commons.scheduler
Scheduler options provide an extensible way of defining how to schedule a job.
Scheduler - Interface in org.apache.sling.commons.scheduler
A scheduler to schedule time/cron based jobs.

T

threadPoolName(String) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
Define the thread pool to be used.

U

unschedule(String) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Remove a scheduled job by name.

V

VALUE_RUN_ON_LEADER - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Value for Scheduler.PROPERTY_SCHEDULER_RUN_ON to run the job on the leader only.
VALUE_RUN_ON_SINGLE - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Value for Scheduler.PROPERTY_SCHEDULER_RUN_ON to run the job on a single instance only.
A C E F G J N O P R S T U V 

Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.