# Uses of Interface
org.springframework.util.concurrent.SuccessCallback

Packages that use SuccessCallback
Package
Description
org.springframework.util.concurrent
Useful generic `java.util.concurrent.Future` extensions.

## Uses of SuccessCallback in org.springframework.util.concurrent

Subinterfaces of SuccessCallback in org.springframework.util.concurrent
Modifier and Type
Interface
Description
`interface`
`ListenableFutureCallback<T>`
Deprecated, for removal: This API element is subject to removal in a future version.
as of 6.0, in favor of `CompletableFuture.whenComplete(BiConsumer)`
Methods in org.springframework.util.concurrent with parameters of type SuccessCallback
Modifier and Type
Method
Description
`void`
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 of `CompletableFuture.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.