long getSegmentCapacity() {
    // all segments same size
    return getFirstSegment().getCapacityInBytes();
  }
@return the capacity of a single segment.
ambry-store/src/main/java/com/github/ambry/store/Log.java