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
Nodes
Gets all nodes contained in the configuration
public ICollection<ClusterNode> Nodes { get; }
Property Value
Origin
The node that was asked for the configuration
public EndPoint Origin { get; }
Property Value
Methods
GetBySlot(RedisKey)
Gets the node that serves the specified slot
public ClusterNode GetBySlot(RedisKey key)
Parameters
key
RedisKey
Returns
GetBySlot(int)
Gets the node that serves the specified slot
public ClusterNode GetBySlot(int slot)
Parameters
slot
int