| 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
IOExceptionpublic boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<V>public V get() throws InterruptedException, ExecutionException
get in interface Future<V>InterruptedExceptionExecutionExceptionpublic V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<V>InterruptedExceptionExecutionExceptionTimeoutExceptionpublic abstract V getResponse(long timeout, TimeUnit unit) throws IOException
IOExceptionJas4pp 1.5 © Java Analysis Studio for Particle Physics