Interface HashRange


  • @Deprecated
    public interface HashRange
    Deprecated.
    A range of hash that is stored in a shard
    • Method Detail

      • min

        int min()
        Deprecated.
        minimum value (inclusive)
      • max

        int max()
        Deprecated.
        maximum value (inclusive)
      • includes

        default boolean includes​(int hash)
        Deprecated.
        Check if a given hash falls in this range
      • isSubset

        default boolean isSubset​(HashRange subset)
        Deprecated.
        Check if another range is a subset of this range