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) Deprecated. -
Uses of SuccessCallback in org.springframework.util.concurrent
Modifier and TypeInterfaceDescriptioninterface
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionvoid
CompletableToListenableFutureAdapter.addCallback
(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) Deprecated, for removal: This API element is subject to removal in a future version.void
ListenableFuture.addCallback
(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) Deprecated, for removal: This API element is subject to removal in a future version.as of 6.0, in favor ofCompletableFuture.whenComplete(BiConsumer)
void
ListenableFutureAdapter.addCallback
(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) Deprecated, for removal: This API element is subject to removal in a future version.void
ListenableFutureTask.addCallback
(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) Deprecated, for removal: This API element is subject to removal in a future version.void
SettableListenableFuture.addCallback
(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) Deprecated, for removal: This API element is subject to removal in a future version.void
ListenableFutureCallbackRegistry.addSuccessCallback
(SuccessCallback<? super T> callback) Deprecated, for removal: This API element is subject to removal in a future version.Add the given success callback to this registry.
CompletableFuture.whenComplete(BiConsumer)