hunt-raft ~master (2020-07-15T10:51:20Z)
Home
Dub
Repo
Config
hunt
raft
Raft
Undocumented in source.
class
Config {
ulong
_ID
;
ulong
[]
_peers
;
int
_ElectionTick
;
int
_HeartbeatTick
;
Storage
_storage
;
ulong
_Applied
;
ulong
_MaxSizePerMsg
;
int
_MaxInflightMsgs
;
bool
_CheckQuorum
;
bool
_PreVote
;
ReadOnlyOption
_ROOption
;
bool
_DisProForw
;
ErrString
validate
();
}
Members
Functions
validate
ErrString
validate
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
_Applied
ulong
_Applied
;
Undocumented in source.
_CheckQuorum
bool
_CheckQuorum
;
Undocumented in source.
_DisProForw
bool
_DisProForw
;
Undocumented in source.
_ElectionTick
int
_ElectionTick
;
Undocumented in source.
_HeartbeatTick
int
_HeartbeatTick
;
Undocumented in source.
_ID
ulong
_ID
;
Undocumented in source.
_MaxInflightMsgs
int
_MaxInflightMsgs
;
Undocumented in source.
_MaxSizePerMsg
ulong
_MaxSizePerMsg
;
Undocumented in source.
_PreVote
bool
_PreVote
;
Undocumented in source.
_ROOption
ReadOnlyOption
_ROOption
;
Undocumented in source.
_peers
ulong
[]
_peers
;
Undocumented in source.
_storage
Storage
_storage
;
Undocumented in source.
Meta
Source
See Implementation
hunt
raft
Raft
aliases
CampaignType
classes
Config
Raft
enums
ReadOnlyOption
StateType
manifest constants
campaignElection
campaignPreElection
campaignTransfer