Uses of Interface
org.springframework.util.concurrent.SuccessCallback
Package
Description
Annotation support for asynchronous method execution.
Useful generic
java.util.concurrent.Future
extensions.-
Uses of SuccessCallback in org.springframework.scheduling.annotation
Modifier and TypeMethodDescriptionvoid
AsyncResult.addCallback
(SuccessCallback<? super V> successCallback, FailureCallback failureCallback) -
Uses of SuccessCallback 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.addSuccessCallback
(SuccessCallback<? super T> callback) Add the given success callback to this registry.