MongoDB  2.0.3
Classes | Namespaces | Typedefs
dbclient_rs.h File Reference

Connect to a Replica Set, from C++. More...

#include "../pch.h"
#include "dbclient.h"

Go to the source code of this file.

Classes

class  mongo::ReplicaSetMonitor
 manages state about a replica set for client keeps tabs on whose master and what slaves are up can hand a slave to someone for SLAVE_OK one instace per process per replica set TODO: we might be able to use a regular Node * to avoid _lock More...
struct  mongo::ReplicaSetMonitor::Node
class  mongo::DBClientReplicaSet
 Use this class to connect to a replica set of servers. More...
struct  mongo::DBClientReplicaSet::AuthInfo
 for storing authentication info fields are exactly for DBClientConnection::auth
class  mongo::DBClientReplicaSet::LazyState
 for storing (non-threadsafe) information between lazy calls More...

Namespaces

namespace  mongo
 tools for working in parallel/sharded/clustered environment

Typedefs

typedef shared_ptr
< ReplicaSetMonitor > 
mongo::ReplicaSetMonitorPtr
typedef pair< set< string >
, set< int > > 
mongo::NodeDiff

Detailed Description

Connect to a Replica Set, from C++.