Open Sidebar
Close Sidebar
raft
main
Raft
Config
Error
AuthenticationFailed
ConfigChange
ConnectionFailed
LogCorrupted
NotLeader
Shutdown
Timeout
UnknownCommand
Log
Entry
EntryType
File
InMemory
Metadata
Metrics
Node
ClientRequest
ClientResponse
NodeMessage
PendingRequest
Replicator
Role
TimerTick
Kind
RPC
AppendEntries
AppendEntriesResponse
Codec
Envelope
ErrorMessage
Handshake
InstallSnapshot
InstallSnapshotResponse
Message
PreVote
PreVoteResponse
RequestVote
RequestVoteResponse
Type
StateMachine
Transport
Handshake
InMemory
TCP
struct
Raft::
Node::
TimerTick
Raft::Node::TimerTick
Struct
Value
Object
Overview
Internal timer event sent by epoch-gated timer fibers. :nodoc:
Defined in:
raft/node/role.cr
Constructors
.new
(kind : Kind, epoch : UInt64 =
0_u64
)
Instance Method Summary
#epoch
: UInt64
#kind
: Kind
Constructor Detail
def self.
new
(kind :
Kind
, epoch : UInt64 =
0_u64
)
#
[
View source
]
Instance Method Detail
def
epoch
: UInt64
#
[
View source
]
def
kind
:
Kind
#
[
View source
]