T - the result type@FunctionalInterface public interface SuccessCallback<T>
ListenableFuture.| Modifier and Type | Method and Description | 
|---|---|
| void | onSuccess(T result)Called when the  ListenableFuturecompletes with success. | 
void onSuccess(@Nullable T result)
ListenableFuture completes with success.
 Note that Exceptions raised by this method are ignored.
result - the result