@FunctionalInterface public interface JobExecutor
Job executor.| Modifier and Type | Interface and Description |
|---|---|
static class |
JobExecutor.Executing
An abstraction of job execution.
|
| Modifier and Type | Method and Description |
|---|---|
JobExecutor.Executing |
submit(ExecutionMonitor monitor,
ExecutionContext context,
Job job,
BlockingQueue<JobExecutor.Executing> doneQueue)
Submits a job.
|
JobExecutor.Executing submit(ExecutionMonitor monitor, ExecutionContext context, Job job, BlockingQueue<JobExecutor.Executing> doneQueue) throws InterruptedException, IOException
monitor - an execution monitorcontext - current contextjob - target jobdoneQueue - the queue where the done tasks are putInterruptedException - if submittion is interruptedIOException - if failed to submit the target jobIllegalArgumentException - if some parameters were nullCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.