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) Deprecated. -
Uses of FailureCallback 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.addFailureCallback
(FailureCallback callback) Deprecated, for removal: This API element is subject to removal in a future version.Add the given failure callback to this registry.
CompletableFuture.whenComplete(BiConsumer)