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

- Packages that use FailureCallback
  Package | Description
  --- | ---
  org.springframework.scheduling.annotation | Annotation support for asynchronous method execution.
  org.springframework.util.concurrent | 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 FailureCallback
    Modifier and Type | Method and Description
    --- | ---
    `void` | AsyncResult.`addCallback(SuccessCallback<? super V> successCallback, FailureCallback failureCallback)`

  - ### Uses of FailureCallback in org.springframework.util.concurrent

    Subinterfaces of FailureCallback in org.springframework.util.concurrent
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ListenableFutureCallback<T>` Callback mechanism for the outcome, success or failure, from a `ListenableFuture`.

    Methods in org.springframework.util.concurrent with parameters of type FailureCallback
    Modifier and Type | Method and Description
    --- | ---
    `void` | ListenableFutureTask.`addCallback(SuccessCallback<? super T> successCallback, FailureCallback failureCallback)`
    `void` | CompletableToListenableFutureAdapter.`addCallback(SuccessCallback<? super T> successCallback, FailureCallback failureCallback)`
    `void` | ListenableFutureAdapter.`addCallback(SuccessCallback<? super T> successCallback, FailureCallback failureCallback)`
    `void` | SettableListenableFuture.`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` | ListenableFutureCallbackRegistry.`addFailureCallback(FailureCallback callback)` Add the given failure callback to this registry.