Class FutureAdapter<T,S>

java.lang.Object
org.springframework.util.concurrent.FutureAdapter<T,S>
Type Parameters:
T - the type of this Future
S - the type of the adaptee's Future
All Implemented Interfaces:
Future<T>
Direct Known Subclasses:
ListenableFutureAdapter

public abstract class FutureAdapter<T,S> extends Object implements Future<T>
Abstract class that adapts a Future parameterized over S into a Future parameterized over T. All methods are delegated to the adaptee, where get() and get(long, TimeUnit) call adapt(Object) on the adaptee's result.
Since:
4.0
Author:
Arjen Poutsma