#include <connpool.h>
Public Member Functions | |
AScopedConnection () | |
virtual void | done ()=0 |
virtual DBClientBase * | get ()=0 |
virtual string | getHost () const =0 |
virtual | ~AScopedConnection () |
Static Public Member Functions | |
static int | getNumConnections () |
Static Private Attributes | |
static AtomicUInt | _numConnections |
Definition at line 152 of file connpool.h.
mongo::AScopedConnection::AScopedConnection | ( | ) | [inline] |
Definition at line 154 of file connpool.h.
virtual mongo::AScopedConnection::~AScopedConnection | ( | ) | [inline, virtual] |
Definition at line 155 of file connpool.h.
virtual void mongo::AScopedConnection::done | ( | ) | [pure virtual] |
Implemented in mongo::ScopedDbConnection, and mongo::ShardConnection.
virtual DBClientBase* mongo::AScopedConnection::get | ( | ) | [pure virtual] |
Implemented in mongo::ScopedDbConnection, and mongo::ShardConnection.
virtual string mongo::AScopedConnection::getHost | ( | ) | const [pure virtual] |
Implemented in mongo::ScopedDbConnection, and mongo::ShardConnection.
static int mongo::AScopedConnection::getNumConnections | ( | ) | [inline, static] |
Definition at line 163 of file connpool.h.
AtomicUInt mongo::AScopedConnection::_numConnections [static, private] |
Definition at line 166 of file connpool.h.