public class AsyncResult<V> extends Object implements Future<V>
Future handle that can be used for method
signatures which are declared with a Future return type for asynchronous
execution.org.springframework.scheduling.annotation.Async| Constructor and Description |
|---|
AsyncResult(V value)
Create a new AsyncResult holder.
|
public AsyncResult(V value)
value - the value to pass throughpublic boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<V>Copyright © 2014 Molindo GmbH. All Rights Reserved.