int getMaxInMemElements() {
    return new StoreConfig(new VerifiableProperties(properties)).storeIndexMaxNumberOfInmemElements;
  }
@return the configured max elements per index segment
ambry-store/src/test/java/com/github/ambry/store/CuratedLogIndexState.java