• Articles
  • API Documentation
  • Internals
Show / Hide Table of Contents
  • Internals

Internals

HashRing<TNode> is implemented as a sorted list sorted by points on the ring for the nodes.

Complexity

  • IsEmpty is O(1)
  • AddNode is O(n)
  • GetNode is O(log n)
  • RemoveNode is O(n)
  • Partitions is O(n)
  • GetEnumerator is O(n)

Thread safety

HashRing<TNode> is not thread safe.

  • Improve this Doc
In This Article
  • Complexity
  • Thread safety
Back to top Generated by DocFX