public class DeferredList<V> extends ArrayList<Deferred<V>> implements Thenable<V>
Thenable.StatusmodCount| Constructor and Description |
|---|
DeferredList() |
| Modifier and Type | Method and Description |
|---|---|
Deferred<List<V>> |
all() |
Deferred<V> |
any() |
Optional<List<V>> |
await() |
Thenable.Status |
getStatus() |
DeferredList<V> |
onFailure(java.util.function.Consumer<Throwable> func) |
DeferredList<V> |
then(java.util.function.Consumer<V> func) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitexecutionQueue, idleWaitcontainsAll, equals, hashCodeparallelStream, streampublic DeferredList<V> then(java.util.function.Consumer<V> func)
public DeferredList<V> onFailure(java.util.function.Consumer<Throwable> func)
public Thenable.Status getStatus()
Copyright © 2016. All rights reserved.