NebulexCluster v0.1.0 NebulexCluster View Source

NebulexCluster.

Link to this section Summary

Link to this section Types

Link to this type

hash_slot() View Source
hash_slot() :: {:"$hash_slot", term()}

Link to this type

node_entry() View Source
node_entry() :: {node_name :: atom(), pool_size :: pos_integer()}

Link to this type

nodes_config() View Source
nodes_config() :: [node_entry()]

Link to this section Functions

Link to this function

get_conn(cache, nodes, node_name) View Source
get_conn(Nebulex.Cache.t(), nodes_config(), atom()) :: atom()

Link to this function

get_conn(cache, nodes, key, module) View Source
get_conn(Nebulex.Cache.t(), nodes_config(), term(), module()) :: atom()

Link to this function

group_keys_by_hash_slot(enum, nodes, module) View Source
group_keys_by_hash_slot(Enum.t(), nodes_config(), module()) :: map()

Link to this function

pool_name(cache, node_name) View Source
pool_name(Nebulex.Cache.t(), atom()) :: atom()