hunt.raft.Node

Undocumented in source.

Members

Aliases

Context
alias Context = Object
Undocumented in source.
SnapshotStatus
alias SnapshotStatus = int
Undocumented in source.

Classes

node
class node
Undocumented in source.

Functions

IsEmptyHardState
bool IsEmptyHardState(HardState st)
Undocumented in source. Be warned that the author may not have intended to support it.
IsEmptySnap
bool IsEmptySnap(Snapshot sp)
Undocumented in source. Be warned that the author may not have intended to support it.
RestartNode
Node RestartNode(Config c)
Undocumented in source. Be warned that the author may not have intended to support it.
StartNode
Node StartNode(Config c, Peer[] peers)
Undocumented in source. Be warned that the author may not have intended to support it.
isHardStateEqual
bool isHardStateEqual(HardState a, HardState b)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

Node
interface Node
Undocumented in source.

Manifest constants

ErrStopped
enum ErrStopped;
Undocumented in source.

Structs

Peer
struct Peer
Undocumented in source.
Ready
struct Ready
Undocumented in source.
SoftState
struct SoftState
Undocumented in source.

Variables

SnapshotFailure
SnapshotStatus SnapshotFailure;
Undocumented in source.
SnapshotFinish
SnapshotStatus SnapshotFinish;
Undocumented in source.
emptyState
HardState emptyState;
Undocumented in source.

Meta