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_splay ⇒ Object
Returns the value of attribute election_splay.
-
#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
4 5 6 |
# File 'lib/raft.rb', line 4 def async_provider @async_provider end |
#election_splay ⇒ Object
Returns the value of attribute election_splay
4 5 6 |
# File 'lib/raft.rb', line 4 def election_splay @election_splay end |
#election_timeout ⇒ Object
Returns the value of attribute election_timeout
4 5 6 |
# File 'lib/raft.rb', line 4 def election_timeout @election_timeout end |
#heartbeat_interval ⇒ Object
Returns the value of attribute heartbeat_interval
4 5 6 |
# File 'lib/raft.rb', line 4 def heartbeat_interval @heartbeat_interval end |
#rpc_provider ⇒ Object
Returns the value of attribute rpc_provider
4 5 6 |
# File 'lib/raft.rb', line 4 def rpc_provider @rpc_provider end |
#update_interval ⇒ Object
Returns the value of attribute update_interval
4 5 6 |
# File 'lib/raft.rb', line 4 def update_interval @update_interval end |