Interface ListenableFuture<T>

Type Parameters:
T - the result type returned by this Future's get method
All Superinterfaces:
Future<T>
All Known Implementing Classes:
AsyncResult, CompletableToListenableFutureAdapter, ListenableFutureAdapter, ListenableFutureTask, MonoToListenableFutureAdapter, SettableListenableFuture

@Deprecated(since="6.0") public interface ListenableFuture<T> extends Future<T>
Deprecated.
as of 6.0, in favor of CompletableFuture
Extend Future with the capability to accept completion callbacks. If the future has completed when the callback is added, the callback is triggered immediately.

Inspired by com.google.common.util.concurrent.ListenableFuture.

Since:
4.0
Author:
Arjen Poutsma, Sebastien Deleuze, Juergen Hoeller