mongo::Member Class Reference

#include <rs.h>

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

List of all members.

Public Member Functions

const ReplSetConfig::MemberCfgconfig () const
string fullName () const
HeartbeatInfoget_hbinfo ()
const HostAndPorth () const
const HeartbeatInfohbinfo () const
unsigned id () const
string lhb () const
 Member (HostAndPort h, unsigned ord, const ReplSetConfig::MemberCfg *c, bool self)
bool potentiallyHot () const
MemberState state () const
void summarizeMember (stringstream &s) const

Private Attributes

const ReplSetConfig::MemberCfg _config
const HostAndPort _h
HeartbeatInfo _hbinfo

Friends

class ReplSetImpl

Detailed Description

Definition at line 42 of file rs.h.


Constructor & Destructor Documentation

mongo::Member::Member ( HostAndPort  h,
unsigned  ord,
const ReplSetConfig::MemberCfg c,
bool  self 
) [inline]

inlines -----------------

Definition at line 433 of file rs.h.


Member Function Documentation

const ReplSetConfig::MemberCfg& mongo::Member::config (  )  const [inline]

Definition at line 47 of file rs.h.

string mongo::Member::fullName (  )  const [inline]

Definition at line 46 of file rs.h.

HeartbeatInfo& mongo::Member::get_hbinfo (  )  [inline]

Definition at line 49 of file rs.h.

const HostAndPort& mongo::Member::h (  )  const [inline]

Definition at line 52 of file rs.h.

const HeartbeatInfo& mongo::Member::hbinfo (  )  const [inline]

Definition at line 48 of file rs.h.

unsigned mongo::Member::id (  )  const [inline]

Definition at line 53 of file rs.h.

string mongo::Member::lhb (  )  const [inline]

Definition at line 50 of file rs.h.

bool mongo::Member::potentiallyHot (  )  const [inline]

Definition at line 55 of file rs.h.

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

Definition at line 51 of file rs.h.

void mongo::Member::summarizeMember ( stringstream &  s  )  const

Friends And Related Function Documentation

friend class ReplSetImpl [friend]

Definition at line 59 of file rs.h.


Member Data Documentation

Definition at line 60 of file rs.h.

const HostAndPort mongo::Member::_h [private]

Definition at line 61 of file rs.h.

Definition at line 62 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