• Articles
  • API Documentation
  • ConsistentHashing
  • Partition<TNode>
Show / Hide Table of Contents
  • ConsistentHashing
    • HashRange
    • HashRangeCollection
    • HashRing<TNode>
    • HashRingExtensions
    • IConsistentHashRing<TNode>
    • Partition<TNode>

Struct Partition<TNode>

Represents a node and a range on the consistent hash ring that it owns.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: ConsistentHashing
Assembly: ConsistentHashing.dll
Syntax
public struct Partition<TNode>
Type Parameters
Name Description
TNode

The type of the node.

Constructors

| Improve this Doc View Source

Partition(TNode, HashRange)

Creates a new partition with the specified node and hash range.

Declaration
public Partition(TNode node, HashRange range)
Parameters
Type Name Description
TNode node

The node.

HashRange range

The range.

Properties

| Improve this Doc View Source

Node

Gets the node that owns Range.

Declaration
public TNode Node { get; }
Property Value
Type Description
TNode
| Improve this Doc View Source

Range

Gets the range of hashes owned by Node.

Declaration
public HashRange Range { get; }
Property Value
Type Description
HashRange
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • Partition(TNode, HashRange)
  • Properties
    • Node
    • Range
Back to top Generated by DocFX