Interface SuccessCallback<T>
- Type Parameters:
 T- the result type
- All Known Subinterfaces:
 ListenableFutureCallback<T>
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
Deprecated, for removal: This API element is subject to removal in a future version.
Success callback for a 
ListenableFuture.- Since:
 - 4.1
 - Author:
 - Sebastien Deleuze
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.Called when theListenableFuturecompletes with success. 
- 
Method Details
- 
onSuccess
Deprecated, for removal: This API element is subject to removal in a future version.Called when theListenableFuturecompletes with success.Note that Exceptions raised by this method are ignored.
- Parameters:
 result- the result
 
 - 
 
CompletableFuture.whenComplete(BiConsumer)