Constructor and Description |
---|
FutureResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
V |
get() |
V |
get(long timeout,
TimeUnit unit) |
V |
getResponse() |
abstract V |
getResponse(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
public V getResponse() throws IOException
IOException
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled
in interface Future<V>
public V get() throws InterruptedException, ExecutionException
get
in interface Future<V>
InterruptedException
ExecutionException
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get
in interface Future<V>
InterruptedException
ExecutionException
TimeoutException
public abstract V getResponse(long timeout, TimeUnit unit) throws IOException
IOException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics