Spex. InstanceManager. DistributedInstanceManager. DistributionFactorState
(spex v0.1.0)
Copy Markdown
View Source
Agent storing the configured distribution factor.
Summary
Functions
Returns a specification to start this module under a supervisor.
Returns the currently configured distribution factor.
Starts the distribution-factor agent.
Types
@type distribution_factor() :: non_neg_integer()
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec get() :: distribution_factor()
Returns the currently configured distribution factor.
@spec start_link(distribution_factor()) :: Agent.on_start()
Starts the distribution-factor agent.