package cluster
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- trait ClusterOperations[F[+_]] extends ClusterApi[F]
- sealed abstract class NodeFlag extends EnumEntry
- class NotAllowedInClusterError extends RuntimeException
- final case class RedisClusterClient[F[+_]] extends RedisClusterOps[F] with Product with Serializable
- final case class RedisClusterNode(uri: URI, nodeId: String, connected: Boolean, slaveOf: String, lastPendingPingSentTimestamp: Long, lastPongReceivedTimestamp: Long, configEpoch: Long, slots: BitSet, nodeFlags: Set[NodeFlag]) extends Product with Serializable
- abstract class RedisClusterOps[F[+_]] extends AnyRef
Value Members
- object CRC16
- object ClusterTopology extends Serializable
- object HashSlot
Redis Cluster does not use consistent hashing, but a different form of sharding where every key is conceptually part of what we call an hash slot.
Redis Cluster does not use consistent hashing, but a different form of sharding where every key is conceptually part of what we call an hash slot. There are 16384 hash slots in Redis Cluster, and to compute what is the hash slot of a given key, we simply take the CRC16 of the key modulo 16384.(from https://redis.io/topics/cluster-tutorial)
- object NodeFlag extends Enum[NodeFlag]
- object RedisClusterClient extends Serializable