java.util.concurrent.Future extensions.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | FailureCallback
Deprecated
since 6.0. as of 6.0, in favor of
Failure callback for a java.
ListenableFuture.
|
| public interface | ListenableFuture<
the result type returned by this Future's T>get method
Deprecated
since 6.0. as of 6.0, in favor of Extend CompletableFuture
Future with the capability to accept completion callbacks.
|
| public interface | ListenableFutureCallback<
the result type T>
Deprecated
since 6.0. as of 6.0, in favor of
Callback mechanism for the outcome, success or failure, from a
java.
ListenableFuture.
|
| public interface | SuccessCallback<
the result type T>
Deprecated
since 6.0. as of 6.0, in favor of
Success callback for a java.
ListenableFuture.
|
| Modifier and Type | Class and Description |
|---|---|
| public class | CompletableToListenableFutureAdapter<
the result type returned by this Future's T>get method
Deprecated
since 6.0. as of 6.0, with no concrete replacement
Adapts a CompletableFuture or CompletionStage into a
Spring ListenableFuture.
|
| pack-priv class | DelegatingCompletableFuture<
the result type returned by this Future's T>get methodExtension of |
| public abstract class | FutureAdapter<
the type of this T, Futurethe type of the adaptee's S>Future
Deprecated
since 6.0. as of 6.0, with no concrete replacement
Abstract class that adapts a Future parameterized over S into a Future
parameterized over T.
|
| public abstract class | FutureUtils
Convenience utilities for working with |
| public abstract class | ListenableFutureAdapter<
the type of this T, Futurethe type of the adaptee's S>Future
Deprecated
since 6.0. as of 6.0, in favor of
Abstract class that adapts a java.
ListenableFuture parameterized over S into a
ListenableFuture parameterized over T.
|
| public class | ListenableFutureCallbackRegistry<
the callback result type T>
Deprecated
since 6.0. as of 6.0, with no concrete replacement
Helper class for ListenableFuture implementations that maintains a queue
of success and failure callbacks and helps to notify them.
|
| public class | ListenableFutureTask<
the result type returned by this Future's T>get method
Deprecated
since 6.0. as of 6.0, with no concrete replacement
Extension of FutureTask that implements ListenableFuture.
|
| public class | MonoToListenableFutureAdapter<
the object type T>
Deprecated
since 6.0. as of 6.0, in favor of Adapts a Mono#toFuture()
Mono into a ListenableFuture by obtaining a
CompletableFuture from the Mono via Mono#toFuture()
and then adapting it with CompletableToListenableFutureAdapter.
|
| public class | SettableListenableFuture<
the result type returned by this Future's T>get method
Deprecated
since 6.0. as of 6.0, in favor of A CompletableFuture
ListenableFuture whose value can be set via set(Object)
or setException(Throwable).
|