Uses of Interface
org.springframework.util.concurrent.FailureCallback
Packages that use FailureCallback
Package
Description
Annotation support for asynchronous method execution.
Useful generic
java.util.concurrent.Future extensions.-
Uses of FailureCallback in org.springframework.scheduling.annotation
Methods in org.springframework.scheduling.annotation with parameters of type FailureCallbackModifier and TypeMethodDescriptionvoidAsyncResult.addCallback(SuccessCallback<? super V> successCallback, FailureCallback failureCallback) Deprecated. -
Uses of FailureCallback in org.springframework.util.concurrent
Subinterfaces of FailureCallback in org.springframework.util.concurrentModifier and TypeInterfaceDescriptioninterfaceDeprecated, for removal: This API element is subject to removal in a future version.Methods in org.springframework.util.concurrent with parameters of type FailureCallbackModifier and TypeMethodDescriptionvoidCompletableToListenableFutureAdapter.addCallback(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) Deprecated, for removal: This API element is subject to removal in a future version.voidListenableFuture.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)voidListenableFutureAdapter.addCallback(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) Deprecated, for removal: This API element is subject to removal in a future version.voidListenableFutureTask.addCallback(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) Deprecated, for removal: This API element is subject to removal in a future version.voidSettableListenableFuture.addCallback(SuccessCallback<? super T> successCallback, FailureCallback failureCallback) Deprecated, for removal: This API element is subject to removal in a future version.voidListenableFutureCallbackRegistry.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)