| Modifier and Type | Field and Description |
|---|---|
| private Object | |
| private int | |
| private boolean | |
| private final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private final Future |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CompositeFuture | |
| public static CompositeFuture | |
| private Object | |
| public Throwable | cause(int
the wrapped future index index)Implements io. Returns a cause of a wrapped future |
| private void | |
| private static CompositeFuture | |
| public boolean | failed(int
the wrapped future index index)Implements io. Returns true if a wrapped future is failed |
| protected void | formatValue(Object value, StringBuilder sb)
Overrides io.
|
| private <T> Future | |
| private void | |
| public boolean | isComplete(int
the wrapped future index index)Implements io. Returns true if a wrapped future is completed |
| public static CompositeFuture | |
| public CompositeFuture | onComplete(Handler<AsyncResult<CompositeFuture>>
the handler that will be called with the result handler)Overrides io. Implements io. Add a handler to be notified of the result. |
| public void | onFailure(Throwable
the failure failure)Implements io. Signal the failure |
| public CompositeFuture | onFailure(Handler<Throwable>
the handler that will be called with the failed result handler)Overrides io. Overrides default io. Add a handler to be notified of the failed result. |
| public void | onSuccess(Object
the value value)Implements io. Signal the success. |
| public CompositeFuture | onSuccess(Handler<CompositeFuture>
the value handler)Overrides io. Overrides default io. Implements io. Signal the success. |
| public <T> T | resultAt(int
the wrapped future index index)Implements io. Returns the result of a wrapped future |
| public int | |
| public boolean | succeeded(int
the wrapped future index index)Implements io. Returns true if a wrapped future is succeeded |
| completed | back to summary |
|---|---|
| private Object completed | |
| completions | back to summary |
|---|---|
| private int completions | |
| initializing | back to summary |
|---|---|
| private boolean initializing | |
| op | back to summary |
|---|---|
| private final int op | |
| OP_ALL | back to summary |
|---|---|
| private static final int OP_ALL | |
| OP_ANY | back to summary |
|---|---|
| private static final int OP_ANY | |
| OP_JOIN | back to summary |
|---|---|
| private static final int OP_JOIN | |
| results | back to summary |
|---|---|
| private final Future<?>[] results | |
| CompositeFutureImpl | back to summary |
|---|---|
| private CompositeFutureImpl(int op, boolean initializing, Future<?>... results) | |
| all | back to summary |
|---|---|
| public static CompositeFuture all(Future<?>... results) | |
| any | back to summary |
|---|---|
| public static CompositeFuture any(Future<?>... results) | |
| anyFailureOrThis | back to summary |
|---|---|
| private Object anyFailureOrThis() | |
| cause | back to summary |
|---|---|
| public Throwable cause(int index) Implements io. Doc from io. Returns a cause of a wrapped future
| |
| complete | back to summary |
|---|---|
| private void complete(Object result) | |
| create | back to summary |
|---|---|
| private static CompositeFuture create(int op, Future<?>... results) | |
| failed | back to summary |
|---|---|
| public boolean failed(int index) Implements io. Doc from io. Returns true if a wrapped future is failed
| |
| formatValue | back to summary |
|---|---|
| protected void formatValue(Object value, StringBuilder sb) Overrides io.
| |
| future | back to summary |
|---|---|
| private <T> Future | |
| init | back to summary |
|---|---|
| private void init() | |
| isComplete | back to summary |
|---|---|
| public boolean isComplete(int index) Implements io. Doc from io. Returns true if a wrapped future is completed
| |
| join | back to summary |
|---|---|
| public static CompositeFuture join(Future<?>... results) | |
| onComplete | back to summary |
|---|---|
| public CompositeFuture onComplete(Handler<AsyncResult<CompositeFuture>> handler) Overrides io. Implements io. Doc from io. Add a handler to be notified of the result. Warning this is a terminal operation.
If several
| |
| onFailure | back to summary |
|---|---|
| public void onFailure(Throwable failure) Implements io. Doc from io. Signal the failure | |
| onFailure | back to summary |
|---|---|
| public CompositeFuture onFailure(Handler<Throwable> handler) Overrides io. Overrides default io. Doc from io. Add a handler to be notified of the failed result. Warning this is a terminal operation.
If several
| |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(Object value) Implements io. Doc from io. Signal the success. | |
| onSuccess | back to summary |
|---|---|
| public CompositeFuture onSuccess(Handler<CompositeFuture> handler) Overrides io. Overrides default io. Implements io. Doc from io. Signal the success.
| |
| resultAt | back to summary |
|---|---|
| public <T> T resultAt(int index) Implements io. Doc from io. Returns the result of a wrapped future
| |
| size | back to summary |
|---|---|
| public int size() Implements io.
| |
| succeeded | back to summary |
|---|---|
| public boolean succeeded(int index) Implements io. Doc from io. Returns true if a wrapped future is succeeded
| |