RedisZ v0.2.0 RedisZ.Shards View Source

Supervise RedisZ.Shard workers.

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

Link to this function assign_commands!(commands, args) View Source
assign_commands!([Redix.command()], keyword()) :: RedisZ.Shard.name()

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function select_shard(key, args) View Source
select_shard(binary(), keyword()) :: RedisZ.Shard.name()