election_delay/0 | Returns the configured election delay. |
post_election_hooks/0 | Returns the configured post election hooks. |
pre_election_hooks/0 | Returns the configured pre election hooks. |
quorum_check/0 | Returns boolean value indicating weather the quorum size is met or not. |
quorum_size/0 | Returns the configured quorum size. |
startup_hooks_enabled/0 | Returns the configured startup hooks enabled flag. |
strategy_module/0 | Returns the configured strategy module. |
sync_start/0 | Returns the configured sync_start flag. |
election_delay() -> Delay::integer()
Returns the configured election delay.
Default value is 1000
(1 second).
post_election_hooks() -> Hooks::[{module(), function(), Args::list()}]
Returns the configured post election hooks.
Default value is []
.
pre_election_hooks() -> Hooks::[{module(), function(), Args::list()}]
Returns the configured pre election hooks.
Default value is []
.
quorum_check() -> QuorumCheck::boolean()
Returns boolean value indicating weather the quorum size is met or not.
quorum_size() -> QuorumSize::integer()
Returns the configured quorum size.
This is the number of nodes that must be up and running
in order to start an election(including the local node).
Default value is 1
.
startup_hooks_enabled() -> StartupHooksEnabled::boolean()
Returns the configured startup hooks enabled flag.
When turned off the post or pre election hooks will not
be executed on the startup.
Default value is true
.
strategy_module() -> StrategyModule::module()
Returns the configured strategy module.
Default value is runtime_high_strategy
(Node with the highest runtime).
sync_start() -> SyncStart::boolean()
Returns the configured sync_start flag.
Default value is true
.
Generated by EDoc