MCPcopy Create free account
hub / github.com/apache/impala / IsIdleContext

Method IsIdleContext

be/src/rpc/thrift-server.cc:244–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244bool ThriftServer::ThriftServerEventProcessor::IsIdleContext(void* context) {
245 __connection_context__ = reinterpret_cast<ConnectionContext*>(context);
246 if (thrift_server_->connection_handler_ != nullptr) {
247 return thrift_server_->connection_handler_->IsIdleConnection(*__connection_context__);
248 }
249 return false;
250}
251
252void ThriftServer::ThriftServerEventProcessor::deleteContext(void* context,
253 std::shared_ptr<TProtocol> input, std::shared_ptr<TProtocol> output) {

Callers 1

PeekMethod · 0.80

Calls 1

IsIdleConnectionMethod · 0.80

Tested by

no test coverage detected