View Source LibRedis.Cluster (lib_redis v0.1.3)

cluster redis client

Summary

Types

@type node_info() :: %{ip: bitstring(), port: non_neg_integer()}
@type slot_info() :: %{
  start_slot: non_neg_integer(),
  end_slot: non_neg_integer(),
  master: node_info(),
  replicas: [node_info()]
}
@opaque state()
@type t() :: %LibRedis.Cluster{
  client_store: ClientStore.t(),
  name: LibRedis.Typespecs.name(),
  password: LibRedis.Typespecs.password(),
  pool_size: non_neg_integer(),
  refresh_interval_ms: non_neg_integer(),
  slot_store: SlotStore.t(),
  urls: [LibRedis.Typespecs.url()]
}

Functions