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()
View Source
hash_slot() :: {:"$hash_slot", term()}
hash_slot() :: {:"$hash_slot", term()}
Link to this type
node_entry()
View Source
node_entry()
View Source
node_entry() :: {node_name :: atom(), pool_size :: pos_integer()}
node_entry() :: {node_name :: atom(), pool_size :: pos_integer()}
Link to this type
nodes_config()
View Source
nodes_config()
View Source
nodes_config() :: [node_entry()]
nodes_config() :: [node_entry()]
Link to this section Functions
Link to this function
get_conn(cache, nodes, node_name)
View Source
get_conn(cache, nodes, node_name)
View Source
get_conn(Nebulex.Cache.t(), nodes_config(), atom()) :: atom()
get_conn(Nebulex.Cache.t(), nodes_config(), atom()) :: atom()
Link to this function
get_conn(cache, nodes, key, module)
View Source
get_conn(cache, nodes, key, module)
View Source
get_conn(Nebulex.Cache.t(), nodes_config(), term(), module()) :: atom()
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, nodes, module)
View Source
group_keys_by_hash_slot(Enum.t(), nodes_config(), module()) :: map()
group_keys_by_hash_slot(Enum.t(), nodes_config(), module()) :: map()
Link to this function
init(opts)
View Source
init(opts)
View Source
init(Keyword.t()) ::
{:ok, [:supervisor.child_spec() | {module(), term()} | module()]}
init(Keyword.t()) :: {:ok, [:supervisor.child_spec() | {module(), term()} | module()]}
Link to this function
pool_name(cache, node_name)
View Source
pool_name(cache, node_name)
View Source
pool_name(Nebulex.Cache.t(), atom()) :: atom()
pool_name(Nebulex.Cache.t(), atom()) :: atom()