abstract class CompletionHandler<E>
extends java.lang.Object
Constructor and Description |
---|
CompletionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
completed(E result)
The operation has completed.
|
void |
failed(java.lang.Throwable throwable)
The operation has failed.
|
public void failed(java.lang.Throwable throwable)
throwable
- error, which occurred during operation execution.public void completed(E result)
result
- the operation result.