Table of Contents

Class ClusterConfiguration

Namespace
StackExchange.Redis
Assembly
StackExchange.Redis.StrongName.dll

Describes the state of the cluster as reported by a single node

public sealed class ClusterConfiguration
Inheritance
ClusterConfiguration
Inherited Members

Properties

this[EndPoint]

Obtain the node relating to a specified endpoint

public ClusterNode this[EndPoint endpoint] { get; }

Parameters

endpoint EndPoint

Property Value

ClusterNode

Nodes

Gets all nodes contained in the configuration

public ICollection<ClusterNode> Nodes { get; }

Property Value

ICollection<ClusterNode>

Origin

The node that was asked for the configuration

public EndPoint Origin { get; }

Property Value

EndPoint

Methods

GetBySlot(RedisKey)

Gets the node that serves the specified slot

public ClusterNode GetBySlot(RedisKey key)

Parameters

key RedisKey

Returns

ClusterNode

GetBySlot(int)

Gets the node that serves the specified slot

public ClusterNode GetBySlot(int slot)

Parameters

slot int

Returns

ClusterNode