Package org.apache.solr.cluster.api
Interface HashRange
- 
- All Known Implementing Classes:
- DocRouter.Range
 
 public interface HashRangeA range of hash that is stored in a shard
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanincludes(int hash)Check if a given hash falls in this rangedefault booleanisSubset(HashRange subset)Check if another range is a subset of this rangeintmax()maximum value (inclusive)intmin()minimum value (inclusive)
 
- 
- 
- 
Method Detail- 
minint min() minimum value (inclusive)
 - 
maxint max() maximum value (inclusive)
 - 
includesdefault boolean includes(int hash) Check if a given hash falls in this range
 - 
isSubsetdefault boolean isSubset(HashRange subset) Check if another range is a subset of this range
 
- 
 
-