static long getSizeOfAllValues(NavigableSet<IndexValue> values) {
    final AtomicLong size = new AtomicLong(0);
    values.forEach(value -> size.addAndGet(value.getSize()));
    return size.get();
  }
@param values the values whose size needs to be summed
@return the sum of the size of all {@code values}
ambry-store/src/test/java/com/github/ambry/store/CuratedLogIndexState.java