module Redis

Nested Classes and Modules

class Client

A Redis client that provides connection pooling and context management.

class ClusterClient

A Redis cluster client that manages multiple Redis instances and handles cluster operations.

class ClusterSubscription

Context for managing sharded subscriptions across multiple Redis cluster nodes. This class handles the complexity of subscribing to channels that may be distributed across different shards in a Redis cluster.

module Context
class Endpoint

Represents a way to connect to a remote Redis server.

class Key

Represents a Redis key with utility methods for key manipulation.

module Protocol
class RangeMap

A map that associates one or more ranges with a value for efficient lookup.

class SentinelClient

A Redis Sentinel client for high availability Redis deployments.

Definitions

ServerError = ::Protocol::Redis::ServerError

Legacy.

def self.local_endpoint(**options)

Create a local Redis endpoint.

Signature

parameter options Hash

Options for the endpoint.

returns Endpoint

A local Redis endpoint.

Implementation

def self.local_endpoint(**options)
	Endpoint.local(**options)
end