@Override
  public ByteRange setLength(int length) {
    clearHashCache();
    this.length = length;
    return this;
  }
Variable for lazy-caching the hashCode of this range. Useful for frequently used ranges,
long-lived ranges, or long ranges.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/AbstractByteRange.java