Interface SuccessCallback<T>
- All Known Subinterfaces:
ListenableFutureCallback<T>
public interface SuccessCallback<T>
Success callback for aListenableFuture.- Since:
- 4.1
- Author:
- Sebastien Deleuze
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonSuccess(T result)Called when theListenableFuturecompletes with success.
Method Detail
onSuccess
void onSuccess(T result)
Called when theListenableFuturecompletes with success.Note that Exceptions raised by this method are ignored.
- Parameters:
result- the result