Interface ListenableFutureCallback<T>
- Type Parameters:
T
- the result type
- All Superinterfaces:
FailureCallback
,SuccessCallback<T>
@Deprecated(since="6.0")
public interface ListenableFutureCallback<T>
extends SuccessCallback<T>, FailureCallback
Deprecated.
Callback mechanism for the outcome, success or failure, from a
ListenableFuture
.- Since:
- 4.0
- Author:
- Arjen Poutsma, Sebastien Deleuze
-
Method Summary
Methods inherited from interface org.springframework.util.concurrent.FailureCallback
onFailure
Methods inherited from interface org.springframework.util.concurrent.SuccessCallback
onSuccess
CompletableFuture.whenComplete(BiConsumer)