RedisZ v0.2.0 RedisZ.Shard View Source
A shard corresponds to a Redis server. It has Redix
workers under a RedisZ.Pool
.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Link to this section Types
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
command!(conn, command, opts \\ [])
View Source
command!(name(), Redix.command(), keyword()) :: Redix.Protocol.redis_value() | no_return()
Link to this function
command(conn, command, opts \\ [])
View Source
command(name(), Redix.command(), keyword()) :: {:ok, Redix.Protocol.redis_value()} | {:error, atom() | Redix.Error.t()}
Link to this function
pipeline!(conn, commands, opts \\ [])
View Source
pipeline!(name(), [Redix.command()], keyword()) :: [Redix.Protocol.redis_value()] | no_return()
Link to this function
pipeline(conn, commands, opts \\ [])
View Source
pipeline(name(), [Redix.command()], keyword()) :: {:ok, [Redix.Protocol.redis_value()]} | {:error, atom() | Redix.Error.t()}