Nebulex.Adapters.Redis.ClientSideCluster (Nebulex.Adapters.Redis v3.0.0-rc.1)
View SourceClient-side Cluster
Summary
Types
@type adapter_meta() :: Nebulex.Adapter.adapter_meta()
Proxy type to the adapter meta
@type node_entry() :: {node_name :: atom(), pool_size :: pos_integer()}
@type nodes_config() :: [node_entry()]
Functions
@spec command( Nebulex.Adapter.adapter_meta(), Redix.command(), keyword(), init_acc :: any(), reducer :: (any(), any() -> any()) ) :: any()
@spec fetch_conn(adapter_meta(), {:"$hash_slot", any()} | any(), keyword()) :: {:ok, pid()} | {:error, Nebulex.Error.t()}
@spec init( adapter_meta(), keyword() ) :: {Supervisor.child_spec(), adapter_meta()}