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>
ExecutionException
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get
in interface Future<V>
InterruptedException
ExecutionException
TimeoutException
public boolean isCancelled()
isCancelled
in interface Future<V>
Copyright © 2018. All rights reserved.