public static final class JobExecutor.Executing extends FutureTask<Void>
Constructor and Description |
---|
Executing(ExecutionMonitor monitor,
ExecutionContext context,
Job job,
BlockingQueue<JobExecutor.Executing> doneQueue)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
done() |
Job |
getJob()
Returns the target job.
|
cancel, get, get, isCancelled, isDone, run, runAndReset, set, setException
public Executing(ExecutionMonitor monitor, ExecutionContext context, Job job, BlockingQueue<JobExecutor.Executing> doneQueue)
monitor
- execution monitorcontext
- current contextjob
- target jobdoneQueue
- a queue which is notified on job is done (nullable)IllegalArgumentException
- if some parameters were null
public Job getJob()
protected void done()
done
in class FutureTask<Void>
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.