fluss-server/src/main/java/com/alibaba/fluss/server/log/OffsetIndex.java [151:166]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public OffsetPosition entry(int n) {
        return maybeLock(
                lock,
                () -> {
                    if (n >= entries()) {
                        throw new IllegalArgumentException(
                                "Attempt to fetch the "
                                        + n
                                        + "th entry from index "
                                        + file().getAbsolutePath()
                                        + ", which has size "
                                        + entries());
                    }
                    return parseEntry(mmap(), n);
                });
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



fluss-server/src/main/java/com/alibaba/fluss/server/log/TimeIndex.java [171:186]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public TimestampOffset entry(int n) {
        return maybeLock(
                lock,
                () -> {
                    if (n >= entries()) {
                        throw new IllegalArgumentException(
                                "Attempt to fetch the "
                                        + n
                                        + "th entry from time index "
                                        + file().getAbsolutePath()
                                        + " which has size "
                                        + entries());
                    }
                    return parseEntry(mmap(), n);
                });
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



