Exemple #1
0
 virtual bool run( OperationContext* txn, const string&, mongo::BSONObj&, int, std::string&, mongo::BSONObjBuilder& result, bool ) {
     // Base pool info
     shardConnectionPool.appendInfo( result );
     // Thread connection info
     activeClientConnections.appendInfo( result );
     return true;
 }
Exemple #2
0
 virtual bool run(const string&, mongo::BSONObj&, std::string&, mongo::BSONObjBuilder& result, bool){
     pool.appendInfo( result );
     return true;
 }
Exemple #3
0
 virtual bool run(const string&, mongo::BSONObj&, std::string&, mongo::BSONObjBuilder& result, bool) {
     pool.appendInfo( result );
     result.append( "numDBClientConnection" , DBClientConnection::getNumConnections() );
     result.append( "numAScopedConnection" , AScopedConnection::getNumConnections() );
     return true;
 }