MongoDB  2.7.0
Public Types | Public Member Functions | Public Attributes | List of all members
mongo::ReplicaSetMonitor::ScanState Struct Reference

Public Types

typedef std::vector
< IsMasterReply
UnconfirmedReplies
 

Public Member Functions

 MONGO_DISALLOW_COPYING (ScanState)
 
template<typename Container >
void enqueAllUntriedHosts (const Container &container, PseudoRandom &rand)
 Adds all hosts in container that aren't in triedHosts to hostsToScan, then shuffles the queue.
 
template<typename Container >
void enqueAllUntriedHosts (const Container &container, PseudoRandom &rand)
 

Public Attributes

bool foundUpMaster
 
bool foundAnyUpNodes
 
std::deque< HostAndPorthostsToScan
 
std::set< HostAndPortpossibleNodes
 
std::set< HostAndPortwaitingFor
 
std::set< HostAndPorttriedHosts
 
UnconfirmedReplies unconfirmedReplies
 

The documentation for this struct was generated from the following files: