protected void setMaxEntries(int maxEntries) {
        this.maxEntries = maxEntries;
    }
Lookup lower or upper bounds for the given target.
storage/src/main/java/org/apache/kafka/storage/internals/log/AbstractIndex.java