Page Speed Optimization Libraries
1.13.35.1
|
#include "expensive_operation_rpc_context.h"
Public Member Functions | |
ExpensiveOperationRpcContext (grpc::CentralControllerRpcService::StubInterface *stub,::grpc::CompletionQueue *queue, ThreadSystem *thread_system, MessageHandler *handler, ExpensiveOperationCallback *callback) | |
void | Done () override |
ExpensiveOperationContext implementation for use with gRPC. All of the interesting code is in ExpensiveOperationRequestResultRpcClient (in the .cc file), this is just a wrapper to adapt it onto ExpensiveOperationContext.
|
overridevirtual |
Mark the expensive operation as complete. Automatically invoked at destruction if not explicitly called.
Implements net_instaweb::ExpensiveOperationContext.