public class PullIntermediateFuture<E> extends TerminableIntermediateFuture<E> implements IPullIntermediateFuture<E>
IForwardCommandFuture.Type
DEBUG, EMPTY, NO_STACK_COMPACTION, STACK
DONE
Constructor and Description |
---|
PullIntermediateFuture(Exception exception)
Create a future that is already done (failed).
|
PullIntermediateFuture(ICommand<PullIntermediateFuture<E>> pullcmd)
Create a new future.
|
PullIntermediateFuture(ICommand<PullIntermediateFuture<E>> pullcmd,
ITerminationCommand termcom)
Create a new future.
|
Modifier and Type | Method and Description |
---|---|
void |
pullIntermediateResult()
Pull an intermediate result.
|
addBackwardCommand, getTerminationCommand, removeBackwardCommand, sendBackwardCommand, setTerminationCommand, terminate, terminate
addIntermediateResult, addIntermediateResultIfUndone, addResultListener, getIntermediateResults, getNextIntermediateResult, getNextIntermediateResult, hasNextIntermediateResult, setFinished, setFinishedIfUndone, setResult, setResultIfUndone
abortGet, addForwardCommand, get, get, get, get, getEmptyFuture, getException, isDone, removeForwardCommand, sendForwardCommand, setException, setExceptionIfUndone
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIntermediateResults, getNextIntermediateResult, hasNextIntermediateResult
terminate, terminate
addResultListener, get, get, get, get, getException, isDone
sendBackwardCommand
public PullIntermediateFuture(Exception exception)
exception
- The exception.public PullIntermediateFuture(ICommand<PullIntermediateFuture<E>> pullcmd)
terminate
- The runnable to be executed in case of termination.public PullIntermediateFuture(ICommand<PullIntermediateFuture<E>> pullcmd, ITerminationCommand termcom)
terminate
- The runnable to be executed in case of termination.public void pullIntermediateResult()
pullIntermediateResult
in interface IPullIntermediateFuture<E>
Copyright © 2013. All Rights Reserved.