mongo::Manager Class Reference

#include <rs.h>

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

List of all members.

Public Member Functions

 Manager (ReplSetImpl *rs)
void msgCheckNewState ()
void msgReceivedNewConfig (BSONObj)
virtual ~Manager ()

Private Member Functions

const MemberfindOtherPrimary (bool &two)
void noteARemoteIsPrimary (const Member *)
virtual void starting ()

Private Attributes

int _primary
bool busyWithElectSelf
ReplSetImplrs

Detailed Description

Definition at line 65 of file rs.h.


Constructor & Destructor Documentation

mongo::Manager::Manager ( ReplSetImpl rs  ) 
virtual mongo::Manager::~Manager (  )  [virtual]

Member Function Documentation

const Member* mongo::Manager::findOtherPrimary ( bool &  two  )  [private]
Parameters:
two - if true two primaries were seen. this can happen transiently, in addition to our polling being only occasional. in this case null is returned, but the caller should not assume primary itself in that situation.
void mongo::Manager::msgCheckNewState (  ) 
void mongo::Manager::msgReceivedNewConfig ( BSONObj   ) 
void mongo::Manager::noteARemoteIsPrimary ( const Member  )  [private]
virtual void mongo::Manager::starting (  )  [private, virtual]

Reimplemented from mongo::task::Server.


Member Data Documentation

int mongo::Manager::_primary [private]

Definition at line 68 of file rs.h.

Definition at line 67 of file rs.h.

Definition at line 66 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:56 2013