Package com.yahoo.processing.response
Class FutureResponse
java.lang.Object
com.yahoo.processing.response.FutureResponse
A processing response which will arrive in the future.
- Author:
- bratseth
-
Constructor Summary
ConstructorDescriptionFutureResponse
(Callable<Response> callable, Execution execution, Request request) -
Method Summary
-
Constructor Details
-
FutureResponse
-
-
Method Details
-
delegate
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceFuture<Response>
-
isDone
public boolean isDone() -
get
-
get
-
getRequest
Returns the query used in this execution, never null
-