Class: Raft::AppendEntriesRequest
- Inherits:
-
Struct
- Object
- Struct
- Raft::AppendEntriesRequest
- Defined in:
- lib/raft.rb
Instance Attribute Summary collapse
-
#commit_index ⇒ Object
Returns the value of attribute commit_index.
-
#entries ⇒ Object
Returns the value of attribute entries.
-
#leader_id ⇒ Object
Returns the value of attribute leader_id.
-
#prev_log_index ⇒ Object
Returns the value of attribute prev_log_index.
-
#prev_log_term ⇒ Object
Returns the value of attribute prev_log_term.
-
#term ⇒ Object
Returns the value of attribute term.
Instance Attribute Details
#commit_index ⇒ Object
Returns the value of attribute commit_index
36 37 38 |
# File 'lib/raft.rb', line 36 def commit_index @commit_index end |
#entries ⇒ Object
Returns the value of attribute entries
36 37 38 |
# File 'lib/raft.rb', line 36 def entries @entries end |
#leader_id ⇒ Object
Returns the value of attribute leader_id
36 37 38 |
# File 'lib/raft.rb', line 36 def leader_id @leader_id end |
#prev_log_index ⇒ Object
Returns the value of attribute prev_log_index
36 37 38 |
# File 'lib/raft.rb', line 36 def prev_log_index @prev_log_index end |
#prev_log_term ⇒ Object
Returns the value of attribute prev_log_term
36 37 38 |
# File 'lib/raft.rb', line 36 def prev_log_term @prev_log_term end |
#term ⇒ Object
Returns the value of attribute term
36 37 38 |
# File 'lib/raft.rb', line 36 def term @term end |