org.apache.sling.commons.scheduler.impl
Class QuartzJobExecutor
java.lang.Object
org.apache.sling.commons.scheduler.impl.QuartzJobExecutor
- All Implemented Interfaces:
- org.quartz.Job
- Direct Known Subclasses:
- NonParallelQuartzJobExecutor
public class QuartzJobExecutor
- extends Object
- implements org.quartz.Job
This component is responsible to launch a Job
or Runnable in a Quartz Scheduler.
|
Method Summary |
void |
execute(org.quartz.JobExecutionContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DISCOVERY_INFO_AVAILABLE
public static final AtomicBoolean DISCOVERY_INFO_AVAILABLE
- Is discovery information available?
SLING_ID
public static String SLING_ID
- The id of the current instance.
IS_LEADER
public static final AtomicBoolean IS_LEADER
- Is this instance the leader?
QuartzJobExecutor
public QuartzJobExecutor()
execute
public void execute(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
- Specified by:
execute in interface org.quartz.Job
- Throws:
org.quartz.JobExecutionException- See Also:
Job.execute(org.quartz.JobExecutionContext)
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.