T
- public class ChainingFuture<T> extends AbstractCompletableFuture<T>
ICompletableFuture
serially.
It advances to the next future only when the previous future is completed.
It completes when there is no other future available.Modifier and Type | Class and Description |
---|---|
static interface |
ChainingFuture.ExceptionHandler |
Constructor and Description |
---|
ChainingFuture(Iterator<ICompletableFuture<T>> futuresToChain,
Executor executor,
ChainingFuture.ExceptionHandler exceptionHandler,
ILogger logger) |
andThen, andThen, cancel, cancelled, done, get, get, getResult, isCancelled, isDone, setResult, shouldCancel
public ChainingFuture(Iterator<ICompletableFuture<T>> futuresToChain, Executor executor, ChainingFuture.ExceptionHandler exceptionHandler, ILogger logger)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.