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:
Closeable,AutoCloseable
FillInvoker implementation using Protobuf over JRT- Author:
- bratseth, ollivir
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetFillResults(Result result, String summaryClass) voidreceive(Client.ResponseOrError<Client.ProtobufResponse> response, List<FastHit> hitsContext) Called by a thread belonging to the client when a valid response becomes availableprotected voidrelease()protected voidsendFillRequest(Result result, String summaryClass) Methods inherited from class com.yahoo.search.dispatch.FillInvoker
fillMethods inherited from class com.yahoo.search.dispatch.CloseableInvoker
close, setFinalStatus, teardown
-
Method Details
-
sendFillRequest
- Specified by:
sendFillRequestin classFillInvoker
-
getFillResults
- Specified by:
getFillResultsin classFillInvoker
-
release
protected void release()- Specified by:
releasein classCloseableInvoker
-
receive
public void receive(Client.ResponseOrError<Client.ProtobufResponse> response, List<FastHit> hitsContext) Called by a thread belonging to the client when a valid response becomes available
-