mongo::ReplSet Class Reference

#include <rs.h>

Inheritance diagram for mongo::ReplSet:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool buildIndexes () const
const ReplSetConfigconfig ()
void fatal ()
void fillIsMaster (BSONObjBuilder &b)
bool freeze (int secs)
const ReplSetConfiggetConfig ()
void getOplogDiagsAsHtml (unsigned server_id, stringstream &ss) const
void go ()
void haveNewConfig (ReplSetConfig &c, bool comment)
string hbmsg () const
bool isPrimary ()
bool isSecondary ()
bool lockedByMe ()
string name () const
 ReplSet (ReplSetCmdline &replSetCmdline)
string selfFullName ()
MemberState state () const
bool stepDown (int secs)
void summarizeAsHtml (stringstream &ss) const
void summarizeStatus (BSONObjBuilder &b) const

Detailed Description

Definition at line 356 of file rs.h.


Constructor & Destructor Documentation

mongo::ReplSet::ReplSet ( ReplSetCmdline replSetCmdline  )  [inline]

Definition at line 358 of file rs.h.


Member Function Documentation

bool mongo::ReplSet::buildIndexes (  )  const [inline]

Definition at line 371 of file rs.h.

const ReplSetConfig& mongo::ReplSet::config (  )  [inline]

Reimplemented from mongo::ReplSetImpl.

Definition at line 381 of file rs.h.

void mongo::ReplSet::fatal (  )  [inline]

Definition at line 376 of file rs.h.

void mongo::ReplSet::fillIsMaster ( BSONObjBuilder b  )  [inline]

Definition at line 385 of file rs.h.

bool mongo::ReplSet::freeze ( int  secs  )  [inline]

Definition at line 364 of file rs.h.

const ReplSetConfig& mongo::ReplSet::getConfig (  )  [inline]

Definition at line 393 of file rs.h.

void mongo::ReplSet::getOplogDiagsAsHtml ( unsigned  server_id,
stringstream &  ss 
) const [inline]

Definition at line 382 of file rs.h.

void mongo::ReplSet::go (  )  [inline]

Definition at line 374 of file rs.h.

void mongo::ReplSet::haveNewConfig ( ReplSetConfig c,
bool  comment 
)
string mongo::ReplSet::hbmsg (  )  const [inline]

Definition at line 398 of file rs.h.

bool mongo::ReplSet::isPrimary (  )  [inline]

Definition at line 377 of file rs.h.

bool mongo::ReplSet::isSecondary (  )  [inline]

Definition at line 378 of file rs.h.

bool mongo::ReplSet::lockedByMe (  )  [inline]

Reimplemented from mongo::RSBase.

Definition at line 395 of file rs.h.

string mongo::ReplSet::name (  )  const [inline]

Reimplemented from mongo::ReplSetImpl.

Definition at line 380 of file rs.h.

string mongo::ReplSet::selfFullName (  )  [inline]

Definition at line 366 of file rs.h.

MemberState mongo::ReplSet::state (  )  const [inline]

Reimplemented from mongo::ReplSetImpl.

Definition at line 379 of file rs.h.

bool mongo::ReplSet::stepDown ( int  secs  )  [inline]

Definition at line 361 of file rs.h.

void mongo::ReplSet::summarizeAsHtml ( stringstream &  ss  )  const [inline]

Definition at line 383 of file rs.h.

void mongo::ReplSet::summarizeStatus ( BSONObjBuilder b  )  const [inline]

Definition at line 384 of file rs.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:57 2013