LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
LogCabin::Server::RaftConsensusInternal::Configuration::SimpleConfiguration Struct Reference

A list of servers in which a simple majority constitutes a quorum. More...

List of all members.

Public Member Functions

 SimpleConfiguration ()
 ~SimpleConfiguration ()
bool all (const Predicate &predicate) const
bool contains (ServerRef server) const
void forEach (const SideEffect &sideEffect)
uint64_t min (const GetValue &getValue) const
bool quorumAll (const Predicate &predicate) const
uint64_t quorumMin (const GetValue &getValue) const

Public Attributes

std::vector< ServerRefservers

Detailed Description

A list of servers in which a simple majority constitutes a quorum.

Definition at line 494 of file RaftConsensus.h.


Constructor & Destructor Documentation

Definition at line 406 of file RaftConsensus.cc.

Definition at line 411 of file RaftConsensus.cc.


Member Function Documentation

Definition at line 416 of file RaftConsensus.cc.

Definition at line 426 of file RaftConsensus.cc.

Definition at line 437 of file RaftConsensus.cc.

Definition at line 444 of file RaftConsensus.cc.

Definition at line 455 of file RaftConsensus.cc.

Definition at line 467 of file RaftConsensus.cc.


Member Data Documentation

Definition at line 503 of file RaftConsensus.h.


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