Class AsyncResult<V>

java.lang.Object
org.springframework.scheduling.annotation.AsyncResult<V>
Type Parameters:
V - the value type
All Implemented Interfaces:
Future<V>, ListenableFuture<V>

@Deprecated public class AsyncResult<V> extends Object implements ListenableFuture<V>
Deprecated.
as of 6.0, in favor of CompletableFuture
A pass-through Future handle that can be used for method signatures which are declared with a Future return type for asynchronous execution.

As of Spring 4.1, this class implements ListenableFuture, not just plain Future, along with the corresponding support in @Async processing.

As of Spring 4.2, this class also supports passing execution exceptions back to the caller.

Since:
3.0
Author:
Juergen Hoeller, Rossen Stoyanchev
See Also: