Package jadex.commons.future
Interface ITerminableFuture<E>
- 
- All Superinterfaces:
- IBackwardCommandFuture,- IFuture<E>
 - All Known Subinterfaces:
- IPullIntermediateFuture<E>,- IPullSubscriptionIntermediateFuture<E>,- ISubscriptionIntermediateFuture<E>,- ITerminableIntermediateFuture<E>
 - All Known Implementing Classes:
- PullIntermediateDelegationFuture,- PullIntermediateFuture,- PullSubscriptionIntermediateDelegationFuture,- PullSubscriptionIntermediateFuture,- SubscriptionIntermediateDelegationFuture,- SubscriptionIntermediateFuture,- TerminableDelegationFuture,- TerminableFuture,- TerminableIntermediateDelegationFuture,- TerminableIntermediateFuture
 
 public interface ITerminableFuture<E> extends IFuture<E>, IBackwardCommandFuture Interface for a future that can be terminated from caller side. A termination request leads to setException() being called with a FutureTerminatedException.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidterminate()Terminate the future.voidterminate(java.lang.Exception reason)Terminate the future and supply a custom reason.- 
Methods inherited from interface jadex.commons.future.IBackwardCommandFuturesendBackwardCommand
 - 
Methods inherited from interface jadex.commons.future.IFutureacceptEither, addResultListener, addResultListener, addResultListener, applyToEither, delegate, exceptionally, exceptionally, exceptionally, get, get, get, get, get, getException, isDone, thenAccept, thenAccept, thenApply, thenApply, thenCombine, thenCompose, thenCompose
 
- 
 
-