| Modifier and Type | Field and Description |
|---|---|
| private CompletableFuture | |
| private Runnable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | completed(T
The result of the I/O operation. result, Void The object attached to the I/O operation when it was initiated. attachment)Implements java. Invoked when an operation has completed. |
| public void | failed(Throwable
The exception to indicate why the I/O operation failed ex, Void The object attached to the I/O operation when it was initiated. attachment)Implements java. Invoked when an operation fails. |
| future | back to summary |
|---|---|
| private CompletableFuture<?> future | |
| successCallback | back to summary |
|---|---|
| private Runnable successCallback | |
| ErrorToFutureCompletionHandler | back to summary |
|---|---|
| public ErrorToFutureCompletionHandler(CompletableFuture<?> future, Runnable successCallback) | |
| completed | back to summary |
|---|---|
| public void completed(T result, Void attachment) Implements java. Doc from java. Invoked when an operation has completed. | |
| failed | back to summary |
|---|---|
| public void failed(Throwable ex, Void attachment) Implements java. Doc from java. Invoked when an operation fails. | |