raft_kv v0.1.1 RaftKV.Shard.Status View Source
Link to this section Summary
Link to this section Types
Link to this type
all_keys_command()
View Source
all_keys_command() :: {:all_keys, command_arg :: RaftKV.ValuePerKey.command_arg()}
Link to this type
command_info()
View Source
command_info() :: single_key_command() | all_keys_command()
Link to this type
single_key_command()
View Source
single_key_command() :: {:key, key :: RaftKV.ValuePerKey.key(), command_arg :: RaftKV.ValuePerKey.command_arg()}
Link to this type
t()
View Source
t() :: :normal | {:pre_split_former, commands :: [command_info()]} | {:pre_split_latter, range_start_after_split :: RaftKV.Hash.t()} | {:post_split_former, commands :: [command_info()]} | {:pre_merge_former, next_range_data :: map()} | {:pre_merge_latter, commands :: [command_info()]} | {:post_merge_latter, commands :: [command_info()]}
Link to this section Functions
Link to this function
remember_all_keys_command(t, command_arg)
View Source
remember_all_keys_command(t(), RaftKV.ValuePerKey.command_arg()) :: t()
Link to this function
remember_single_key_command(t, which, pair)
View Source
remember_single_key_command( t(), :former | :latter, {RaftKV.ValuePerKey.key(), RaftKV.ValuePerKey.command_arg()} ) :: t()