Bedrock.ControlPlane.Director.State (bedrock v0.6.0)
View SourceInternal state structure for the Director process.
Summary
Types
@type state() :: :starting | :recovery | :running | :stopped
@type t() :: %Bedrock.ControlPlane.Director.State{ cluster: module(), config: Bedrock.ControlPlane.Config.t() | nil, coordinator: pid(), epoch: Bedrock.epoch(), lock_token: binary(), node_capabilities: %{required(Bedrock.Cluster.capability()) => [node()]}, old_transaction_system_layout: Bedrock.ControlPlane.Config.TransactionSystemLayout.t() | nil, recovery_attempt: Bedrock.ControlPlane.Config.RecoveryAttempt.t() | nil, services: %{ required(Bedrock.Service.Worker.id()) => {atom(), {atom(), node()}} }, state: state(), timers: timer_registry() | nil, transaction_system_layout: Bedrock.ControlPlane.Config.TransactionSystemLayout.t() | nil }