J - the type of the jobs used in the job processorpublic interface InputProcessorListenerNotifyFinishedJob<J>
InputProcessor that can be used to perform
actions when a job is processed.| Modifier and Type | Method and Description |
|---|---|
void |
notifyFinished(J job)
This function is called after the input processor detects when the job is
fully processed.
|
void notifyFinished(J job) throws InterruptedException
InputProcessor.submit(Object) is called followed with
InputProcessor.process(), it is guaranteed that
notifyFinished(Object) will be called (perhaps from some other
thread) before no instance of InputProcessor.process() is
running.job - the job that has been processedInterruptedException - if interrupted during the notificationCopyright © 2011-2015 Department of Computer Science, University of Oxford. All Rights Reserved.