Uses of Interface
org.springframework.util.concurrent.FailureCallback
Package
Description
Annotation support for asynchronous method execution.
Useful generic
java.util.concurrent.Future
extensions.-
Uses of FailureCallback in org.springframework.scheduling.annotation
Modifier and TypeMethodDescriptionvoid
AsyncResult.addCallback
(SuccessCallback<? super V> successCallback, FailureCallback failureCallback) -
Uses of FailureCallback in org.springframework.util.concurrent
Modifier and TypeInterfaceDescriptioninterface
Callback mechanism for the outcome, success or failure, from aListenableFuture
.Modifier and TypeMethodDescriptionvoid
CompletableToListenableFutureAdapter.addCallback
(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) void
ListenableFuture.addCallback
(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) Java 8 lambda-friendly alternative with success and failure callbacks.void
ListenableFutureAdapter.addCallback
(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) void
ListenableFutureTask.addCallback
(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) void
SettableListenableFuture.addCallback
(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) void
ListenableFutureCallbackRegistry.addFailureCallback
(FailureCallback callback) Add the given failure callback to this registry.