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

Method GetConnectionContextList

be/src/service/internal-server.cc:286–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284} // ImpalaServer::CloseQuery
285
286void ImpalaServer::GetConnectionContextList(
287 ThriftServer::ConnectionContextList* connection_contexts) {
288 lock_guard<mutex> l(internal_server_connections_lock_);
289
290 for(auto iter = internal_server_connections_.cbegin();
291 iter != internal_server_connections_.cend(); iter++) {
292 connection_contexts->push_back(iter->second);
293 }
294} // ImpalaServer::GetConnectionContextList
295
296} // namespace impala

Callers 1

Calls 3

cbeginMethod · 0.80
cendMethod · 0.80
push_backMethod · 0.80

Tested by

no test coverage detected