public class EjbRemoteFutureTask<V> extends Object implements Future<V>, Serializable
| Constructor and Description |
|---|
EjbRemoteFutureTask(Long id,
GenericEJBHome home) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
V |
get() |
V |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
public EjbRemoteFutureTask(Long id, GenericEJBHome home)
public boolean cancel(boolean mayInterruptIfRunning)
public V get() throws ExecutionException
get in interface Future<V>ExecutionExceptionpublic V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<V>InterruptedExceptionExecutionExceptionTimeoutExceptionpublic boolean isCancelled()
isCancelled in interface Future<V>Copyright © 2017. All rights reserved.