public class PullSubscriptionIntermediateFuture<E> extends SubscriptionIntermediateFuture<E> implements IPullSubscriptionIntermediateFuture<E>
IForwardCommandFuture.Type
DEBUG, EMPTY, NO_STACK_COMPACTION, STACK
DONE
Constructor and Description |
---|
PullSubscriptionIntermediateFuture(Exception exception)
Create a future that is already done (failed).
|
PullSubscriptionIntermediateFuture(ICommand<PullSubscriptionIntermediateFuture<E>> pullcmd)
Create a new future.
|
PullSubscriptionIntermediateFuture(ICommand<PullSubscriptionIntermediateFuture<E>> pullcmd,
ITerminationCommand termcom)
Create a new future.
|
Modifier and Type | Method and Description |
---|---|
void |
pullIntermediateResult()
Pull an intermediate result.
|
addQuietListener, addResultListener, hasNextIntermediateResult
addBackwardCommand, getTerminationCommand, removeBackwardCommand, sendBackwardCommand, setTerminationCommand, terminate, terminate
addIntermediateResult, addIntermediateResultIfUndone, getIntermediateResults, getNextIntermediateResult, getNextIntermediateResult, 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
addQuietListener
getIntermediateResults, getNextIntermediateResult, hasNextIntermediateResult
terminate, terminate
addResultListener, get, get, get, get, getException, isDone
sendBackwardCommand
public PullSubscriptionIntermediateFuture(Exception exception)
exception
- The exception.public PullSubscriptionIntermediateFuture(ICommand<PullSubscriptionIntermediateFuture<E>> pullcmd)
terminate
- The runnable to be executed in case of termination.public PullSubscriptionIntermediateFuture(ICommand<PullSubscriptionIntermediateFuture<E>> pullcmd, ITerminationCommand termcom)
terminate
- The runnable to be executed in case of termination.public void pullIntermediateResult()
pullIntermediateResult
in interface IPullSubscriptionIntermediateFuture<E>
Copyright © 2013. All Rights Reserved.