T
- type of the stage to listen onpublic interface Handle<T>
Modifier and Type | Method and Description |
---|---|
void |
cancelled()
Handle to be called when the underlying stage is cancelled.
|
void |
completed(T result)
Handle to be called when the underlying stage is completed.
|
void |
failed(Throwable cause)
Handle to be called when the underlying stage is failed.
|
void completed(T result)
result
- The result of the completed stage.void failed(Throwable cause)
cause
- exception that caused the underlying stage to failvoid cancelled()
Copyright © 2017. All rights reserved.