public interface Callback<V>
| Modifier and Type | Method and Description |
|---|---|
void |
cancelled()
Calls when the operation has been cancelled.
|
void |
done(V result)
Calls when the operation completed successfully.
|
void |
failed(Throwable e)
Calls when the operation failed.
|
void done(V result)
result - the result of the async operationvoid failed(Throwable e)
e - the thrown exceptionvoid cancelled()
Copyright © 2016. All rights reserved.