struct
Raft::Log::Entry
- Raft::Log::Entry
- Struct
- Value
- Object
Overview
A single entry in the Raft log.
Entries are 1-indexed. Each entry records the Raft term in which it was created, its type, and an opaque data payload.
Defined in:
raft/log/entry.crConstructors
Instance Method Summary
-
#data : Bytes
The opaque payload.
-
#entry_type : EntryType
The type of this entry (Noop, Op, or Config).
-
#index : UInt64
The 1-based position of this entry in the log.
-
#term : UInt64
The Raft term when this entry was created.