RedisZ v0.1.0 RedisZ.Shards View Source

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Callback invoked to start the supervisor and during hot code upgrades

Link to this section Functions

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

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback invoked to start the supervisor and during hot code upgrades.

Developers typically invoke DynamicSupervisor.init/1 at the end of their init callback to return the proper supervision flags.

Callback implementation for DynamicSupervisor.init/1.

Link to this function select_shard(key, args) View Source
select_shard(binary(), keyword()) :: atom()