Interface RingPosition<C extends RingPosition<C>>

All Superinterfaces:
Comparable<C>
All Known Subinterfaces:
PartitionPosition
All Known Implementing Classes:
BufferDecoratedKey, ByteOrderedPartitioner.BytesToken, CachedHashDecoratedKey, DecoratedKey, LocalPartitioner.LocalToken, Murmur3Partitioner.LongToken, NativeDecoratedKey, OrderPreservingPartitioner.StringToken, PreHashedDecoratedKey, RandomPartitioner.BigIntegerToken, Token, Token.KeyBound

public interface RingPosition<C extends RingPosition<C>> extends Comparable<C>
Interface representing a position on the ring. Both Token and DecoratedKey represent a position in the ring, a token being less precise than a DecoratedKey (a token is really a range of keys).
  • Method Details

    • getToken

      Token getToken()
    • getPartitioner

      IPartitioner getPartitioner()
    • isMinimum

      boolean isMinimum()
    • minValue

      C minValue()