org.springframework.util.concurrent

## Interface FailureCallback

- All Known Subinterfaces:
    ListenableFutureCallback<T>
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface FailureCallback

  Failure callback for a `ListenableFuture`.
  Since:
    4.1
  Author:
    Sebastien Deleuze

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onFailure(Throwable ex)` Called when the `ListenableFuture` completes with failure.

- - ### Method Detail

    - #### onFailure

          void onFailure(Throwable ex)

      Called when the `ListenableFuture` completes with failure.

      Note that Exceptions raised by this method are ignored.

      Parameters:
        `ex` - the failure