Class: Raft::RequestVoteRequest
- Inherits:
-
Struct
- Object
- Struct
- Raft::RequestVoteRequest
- Defined in:
- lib/raft.rb
Instance Attribute Summary collapse
-
#candidate_id ⇒ Object
Returns the value of attribute candidate_id.
-
#last_log_index ⇒ Object
Returns the value of attribute last_log_index.
-
#last_log_term ⇒ Object
Returns the value of attribute last_log_term.
-
#term ⇒ Object
Returns the value of attribute term.
Instance Attribute Details
#candidate_id ⇒ Object
Returns the value of attribute candidate_id
101 102 103 |
# File 'lib/raft.rb', line 101 def candidate_id @candidate_id end |
#last_log_index ⇒ Object
Returns the value of attribute last_log_index
101 102 103 |
# File 'lib/raft.rb', line 101 def last_log_index @last_log_index end |
#last_log_term ⇒ Object
Returns the value of attribute last_log_term
101 102 103 |
# File 'lib/raft.rb', line 101 def last_log_term @last_log_term end |
#term ⇒ Object
Returns the value of attribute term
101 102 103 |
# File 'lib/raft.rb', line 101 def term @term end |