Package com.yahoo.search.dispatch.rpc
Class RpcProtobufFillInvoker
- java.lang.Object
-
- com.yahoo.search.dispatch.CloseableInvoker
-
- com.yahoo.search.dispatch.FillInvoker
-
- com.yahoo.search.dispatch.rpc.RpcProtobufFillInvoker
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class RpcProtobufFillInvoker extends FillInvoker
FillInvoker
implementation using Protobuf over JRT- Author:
- bratseth, ollivir
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
getFillResults(Result result, java.lang.String summaryClass)
void
receive(com.yahoo.search.dispatch.rpc.Client.ResponseOrError<com.yahoo.search.dispatch.rpc.Client.ProtobufResponse> response, java.util.List<FastHit> hitsContext)
Called by a thread belonging to the client when a valid response becomes availableprotected void
release()
protected void
sendFillRequest(Result result, java.lang.String summaryClass)
-
Methods inherited from class com.yahoo.search.dispatch.FillInvoker
fill
-
Methods inherited from class com.yahoo.search.dispatch.CloseableInvoker
close, setFinalStatus, teardown
-
-
-
-
Method Detail
-
sendFillRequest
protected void sendFillRequest(Result result, java.lang.String summaryClass)
- Specified by:
sendFillRequest
in classFillInvoker
-
getFillResults
protected void getFillResults(Result result, java.lang.String summaryClass)
- Specified by:
getFillResults
in classFillInvoker
-
release
protected void release()
- Specified by:
release
in classCloseableInvoker
-
receive
public void receive(com.yahoo.search.dispatch.rpc.Client.ResponseOrError<com.yahoo.search.dispatch.rpc.Client.ProtobufResponse> response, java.util.List<FastHit> hitsContext)
Called by a thread belonging to the client when a valid response becomes available
-
-