| Modifier and Type | Field and Description |
|---|---|
| private final Function | |
| private final Function |
| Access | Constructor and Description |
|---|---|
| pack-priv | Composition(ContextInternal context, Function<T, Future<U>> successMapper, Function<Throwable, Future<U>> failureMapper)
|
| Modifier and Type | Method and Description |
|---|---|
| private Listener | |
| public void | onFailure(Throwable
the failure failure)Implements io. Signal the failure |
| public void | onSuccess(T
the value value)Implements io. Signal the success. |
| failureMapper | back to summary |
|---|---|
| private final Function<Throwable, Future<U>> failureMapper | |
| successMapper | back to summary |
|---|---|
| private final Function<T, Future<U>> successMapper | |
| Composition | back to summary |
|---|---|
| pack-priv Composition(ContextInternal context, Function<T, Future<U>> successMapper, Function<Throwable, Future<U>> failureMapper) | |
| newListener | back to summary |
|---|---|
| private Listener | |
| onFailure | back to summary |
|---|---|
| public void onFailure(Throwable failure) Implements io. Doc from io. Signal the failure | |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(T value) Implements io. Doc from io. Signal the success.
| |