public interface FutureCallback<V>
Future computation asynchronously.
To attach to a ListenableFuture use Futures.
void onSuccess(V result)
Future computation when it is successful.
void onFailure(Throwablet)
Future computation fails or is canceled.
If the future's get method throws an ExecutionException, then the cause is passed to this method. Any other thrown object is passed unaltered.