HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulehedis-0.16.4Haskell2010

Database.Redis.Cluster

  • 7 types
  • 9 values
  • Packagehedis-0.16.4
  • Exports16
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceCluster.hs
datadata Node
#

Represents a single node, note that this type does not include the connection to the node because the shard map can be shared amongst multiple connections

Constructors

Instances3Eq, Ord, Show
  • Eq NodeDefined in hedis-0.16.4 · Database.Redis.Cluster
  • Ord NodeDefined in hedis-0.16.4 · Database.Redis.Cluster
  • Show NodeDefined in hedis-0.16.4 · Database.Redis.Cluster
newtypenewtype HashSlot
#
Instances7Enum, Eq, Integral, Num, Ord, Real, …
  • Enum HashSlotDefined in hedis-0.16.4 · Database.Redis.Cluster.HashSlot
  • Eq HashSlotDefined in hedis-0.16.4 · Database.Redis.Cluster.HashSlot
  • Integral HashSlotDefined in hedis-0.16.4 · Database.Redis.Cluster.HashSlot
  • Num HashSlotDefined in hedis-0.16.4 · Database.Redis.Cluster.HashSlot
  • Ord HashSlotDefined in hedis-0.16.4 · Database.Redis.Cluster.HashSlot
  • Real HashSlotDefined in hedis-0.16.4 · Database.Redis.Cluster.HashSlot
  • Show HashSlotDefined in hedis-0.16.4 · Database.Redis.Cluster.HashSlot
datadata Shard
#

A shard is a master node and 0 or more slaves, (the master, slave terminology is unfortunate but I felt it better to follow the documentation until it changes).

Constructors

Instances3Eq, Ord, Show
  • Eq ShardDefined in hedis-0.16.4 · Database.Redis.Cluster
  • Ord ShardDefined in hedis-0.16.4 · Database.Redis.Cluster
  • Show ShardDefined in hedis-0.16.4 · Database.Redis.Cluster

Get connection to a master nodes in the cluster. This is useful for commands that need to be sent to all master nodes, such as FLUSHALL or `CONFIG SET`.