RawNode

Undocumented in source.

Constructors

this
this(Config c)
Undocumented in source.
this
this(Config c, Peer[] peers)
Undocumented in source.

Members

Functions

Advance
void Advance(Ready rd)
Undocumented in source. Be warned that the author may not have intended to support it.
ApplyConfChange
ConfState ApplyConfChange(ConfChange cc)
Undocumented in source. Be warned that the author may not have intended to support it.
Campaign
ErrString Campaign()
Undocumented in source. Be warned that the author may not have intended to support it.
HasReady
bool HasReady()
Undocumented in source. Be warned that the author may not have intended to support it.
Propose
ErrString Propose(string data)
Undocumented in source. Be warned that the author may not have intended to support it.
ProposeConfChange
ErrString ProposeConfChange(ConfChange cc)
Undocumented in source. Be warned that the author may not have intended to support it.
ReadIndex
void ReadIndex(string rctx)
Undocumented in source. Be warned that the author may not have intended to support it.
ReportSnapshot
void ReportSnapshot(ulong id, SnapshotStatus status)
Undocumented in source. Be warned that the author may not have intended to support it.
ReportUnreachable
void ReportUnreachable(ulong id)
Undocumented in source. Be warned that the author may not have intended to support it.
Step
ErrString Step(Message m)
Undocumented in source. Be warned that the author may not have intended to support it.
Tick
void Tick()
Undocumented in source. Be warned that the author may not have intended to support it.
TickQuiesced
void TickQuiesced()
Undocumented in source. Be warned that the author may not have intended to support it.
TransferLeader
void TransferLeader(ulong transferee)
Undocumented in source. Be warned that the author may not have intended to support it.
commitReady
void commitReady(Ready rd)
Undocumented in source. Be warned that the author may not have intended to support it.
isLeader
bool isLeader()
Undocumented in source. Be warned that the author may not have intended to support it.
newReady
Ready newReady()
Undocumented in source. Be warned that the author may not have intended to support it.
ready
Ready ready()
Undocumented in source. Be warned that the author may not have intended to support it.
status
Status status()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_preSoftSt
SoftState* _preSoftSt;
Undocumented in source.
_prevHardSt
HardState _prevHardSt;
Undocumented in source.
_raft
Raft _raft;
Undocumented in source.

Meta