module Methods

A collection of methods for interacting with Redis in cluster mode.

Nested Classes and Modules

module Generic

Provides generic Redis commands for cluster environments. These methods distribute operations across cluster nodes based on key slots.

module Pubsub

Provides Redis Pub/Sub commands for cluster environments. Uses sharded pub/sub by default for optimal cluster performance.

module Scripting

Methods for managing Redis scripting in cluster environments.

module Streams

Provides Redis Streams commands for cluster environments. Stream operations are routed to the appropriate shard based on the stream key.

module Strings

Provides 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