public class AsyncFutures<T,D>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Async |
async |
protected java.util.List<com.google.common.util.concurrent.ListenableFuture<T>> |
futures |
protected java.util.Map<com.google.common.util.concurrent.ListenableFuture<T>,D> |
futuresData |
| Modifier and Type | Method and Description |
|---|---|
protected void |
futuresAccept(java.util.List<com.google.common.util.concurrent.ListenableFuture<T>> list,
java.util.function.Consumer consumer) |
Async |
inCompletionOrder() |
Async |
inCompletionOrder(java.util.function.Consumer<T> consumer) |
Async |
inExecutionOrder() |
Async |
inExecutionOrder(java.util.function.BiConsumer<D,T> consumer) |
Async |
inExecutionOrder(java.util.function.Consumer<T> consumer) |
protected Async async
protected java.util.List<com.google.common.util.concurrent.ListenableFuture<T>> futures