Class: Raft::TemporaryState
- Inherits:
-
Struct
- Object
- Struct
- Raft::TemporaryState
- Defined in:
- lib/raft.rb
Instance Attribute Summary collapse
-
#commit_index ⇒ Object
Returns the value of attribute commit_index.
-
#leader_id ⇒ Object
Returns the value of attribute leader_id.
Instance Attribute Details
#commit_index ⇒ Object
Returns the value of attribute commit_index
14 15 16 |
# File 'lib/raft.rb', line 14 def commit_index @commit_index end |
#leader_id ⇒ Object
Returns the value of attribute leader_id
14 15 16 |
# File 'lib/raft.rb', line 14 def leader_id @leader_id end |