LogSegment getSegment(LogSegmentName name) {
    return segmentsByName.get(name);
  }
@param name the name of the segment required.
@return a {@link LogSegment} with {@code name} if it exists.
ambry-store/src/main/java/com/github/ambry/store/Log.java