module Methods
A collection of methods for interacting with Redis in cluster mode.
Nested Classes and Modules
module GenericProvides generic Redis commands for cluster environments. These methods distribute operations across cluster nodes based on key slots.
module PubsubProvides Redis Pub/Sub commands for cluster environments. Uses sharded pub/sub by default for optimal cluster performance.
module ScriptingMethods for managing Redis scripting in cluster environments.
module StreamsProvides Redis Streams commands for cluster environments. Stream operations are routed to the appropriate shard based on the stream key.
module StringsProvides Redis String commands for cluster environments. String operations are routed to the appropriate shard based on the key.
Definitions
def self.included(klass)
Includes all Redis methods into the given class.
Implementation
def self.included(klass)
klass.include Methods::Generic
klass.include Methods::Pubsub
klass.include Methods::Streams
klass.include Methods::Strings
end