Class: Raft::Config
- Inherits:
-
Struct
- Object
- Struct
- Raft::Config
- Defined in:
- lib/raft.rb
Instance Attribute Summary collapse
-
#async_provider ⇒ Object
Returns the value of attribute async_provider.
-
#election_timeout ⇒ Object
Returns the value of attribute election_timeout.
-
#heartbeat_interval ⇒ Object
Returns the value of attribute heartbeat_interval.
-
#rpc_provider ⇒ Object
Returns the value of attribute rpc_provider.
-
#update_interval ⇒ Object
Returns the value of attribute update_interval.
Instance Attribute Details
#async_provider ⇒ Object
Returns the value of attribute async_provider
2 3 4 |
# File 'lib/raft.rb', line 2 def async_provider @async_provider end |
#election_timeout ⇒ Object
Returns the value of attribute election_timeout
2 3 4 |
# File 'lib/raft.rb', line 2 def election_timeout @election_timeout end |
#heartbeat_interval ⇒ Object
Returns the value of attribute heartbeat_interval
2 3 4 |
# File 'lib/raft.rb', line 2 def heartbeat_interval @heartbeat_interval end |
#rpc_provider ⇒ Object
Returns the value of attribute rpc_provider
2 3 4 |
# File 'lib/raft.rb', line 2 def rpc_provider @rpc_provider end |
#update_interval ⇒ Object
Returns the value of attribute update_interval
2 3 4 |
# File 'lib/raft.rb', line 2 def update_interval @update_interval end |