public long getRangeSize() {
    throw new UnsupportedOperationException("Cannot determine range size for range type: " + getType());
  }
@return the size of the range, in bytes.
@throws UnsupportedOperationException for {@link ByteRangeType#FROM_START_OFFSET} type ranges.
ambry-api/src/main/java/com/github/ambry/router/ByteRange.java