module Redis
Nested Classes and Modules
class ClientA Redis client that provides connection pooling and context management.
class ClusterClientA Redis cluster client that manages multiple Redis instances and handles cluster operations.
class ClusterSubscriptionContext 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.
class EndpointRepresents a way to connect to a remote Redis server.
class KeyRepresents a Redis key with utility methods for key manipulation.
class RangeMapA map that associates one or more ranges with a value for efficient lookup.
class SentinelClientA 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
optionsHash Options for the endpoint.
-
returns
Endpoint A local Redis endpoint.
Implementation
def self.local_endpoint(**options)
Endpoint.local(**options)
end