Raditz v0.0.1 Raditz.Pool behaviour View Source

Connection pool behavior.

Link to this section Summary

Link to this section Callbacks

Link to this callback

child_spec(module, arg1) View Source
child_spec(module(), Keyword.t()) :: tuple()

Link to this callback

command(module, list, arg2) View Source
command(module(), [binary()], Keyword.t()) ::
  {:ok, [Redix.Protocol.redis_value()]} | {:error, atom() | Redix.Error.t()}

Link to this callback

multi(module, list, arg2) View Source
multi(module(), [[binary()]], Keyword.t()) ::
  {:ok, [Redix.Protocol.redis_value()]} | {:error, atom() | Redix.Error.t()}