public abstract class AbstractJobScheduler extends JobScheduler
JobScheduler.JobScheduler.ErrorHandlerBEST_EFFORT, STRICT| Constructor and Description |
|---|
AbstractJobScheduler() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(PhaseMonitor monitor,
ExecutionContext context,
List<? extends Job> jobs,
JobScheduler.ErrorHandler errorHandler)
Executes a series of jobs.
|
protected abstract JobExecutor |
getJobExecutor()
Returns a
JobExecutor for this scheduler. |
configure, doConfigureprotected abstract JobExecutor getJobExecutor()
JobExecutor for this scheduler.JobExecutorpublic final void execute(PhaseMonitor monitor, ExecutionContext context, List<? extends Job> jobs, JobScheduler.ErrorHandler errorHandler) throws InterruptedException, IOException
JobSchedulerexecute in class JobSchedulermonitor - the progress monitor of the executioncontext - current execution contextjobs - jobs to be executederrorHandler - handles errors during each job executionInterruptedException - if the execution was interruptedIOException - if failed to execute the jobsCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.