O
- the type of the operation that are processed by this asynchronous navigator processorpublic class AsynchronousNavigationProcessorWrapper<O extends AbstractOperation> extends NavigationProcessorWrapper<O> implements AsynchronousNavigationProcessor<O>
AsynchronousNavigationProcessor
that delegates the methods
to an encapsulated AsynchronousNavigationProcessor
.navigationProcessor
Constructor and Description |
---|
AsynchronousNavigationProcessorWrapper(AsynchronousNavigationProcessor<O> asynchronousNavigationProcessor)
Creates a new wrapper for the given asynchronous navigation processor.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Callable<O> |
processStepAsynchronously()
Returns a
Callable that allows to execute the next processing step asynchronously. |
close, getOperation, getProcessedCount, getRemainingCount, isFinished, processStep
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getOperation, getProcessedCount, getRemainingCount, isFinished, processStep
public AsynchronousNavigationProcessorWrapper(AsynchronousNavigationProcessor<O> asynchronousNavigationProcessor)
asynchronousNavigationProcessor
- the processor to wrappublic java.util.concurrent.Callable<O> processStepAsynchronously() throws java.lang.InterruptedException
AsynchronousNavigationProcessor
Callable
that allows to execute the next processing step asynchronously.
Note that this method may block if necessary.processStepAsynchronously
in interface AsynchronousNavigationProcessor<O extends AbstractOperation>
Callable
for next step or null if there are no more stepsjava.lang.InterruptedException
- if the processing thread was interrupted