Package com.yahoo.processing.response
Class FutureResponse
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- com.google.common.util.concurrent.ForwardingFuture<Response>
-
- com.yahoo.processing.response.FutureResponse
-
-
Constructor Summary
Constructors Constructor Description FutureResponse(java.util.concurrent.Callable<Response> callable, Execution execution, Request request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFutureTask<Response>
delegate()
Response
get()
Response
get(long timeout, java.util.concurrent.TimeUnit timeunit)
Request
getRequest()
Returns the query used in this execution, never null
-
-
-
Method Detail
-
delegate
public com.google.common.util.concurrent.ListenableFutureTask<Response> delegate()
- Specified by:
delegate
in classcom.google.common.util.concurrent.ForwardingFuture<Response>
-
get
public Response get()
-
get
public Response get(long timeout, java.util.concurrent.TimeUnit timeunit)
-
getRequest
public Request getRequest()
Returns the query used in this execution, never null
-
-