Example usage for Java com.google.common.util.concurrent FutureCallback fields, constructors, methods, implement or subclass
The text is from its open source code.
Class> | getClass() Returns the runtime class of this Object . |
void | onFailure(Throwable t) Invoked when a Future computation fails or is canceled. |
void | onSuccess(@Nullable V result) Invoked with the result of the Future computation when it is successful. |