private long calWindowBlocksEndOffset() {
        Map.Entry<Long, Block> lastBlockIndex = blocksMap.lastEntry();
        if (lastBlockIndex != null) {
            return Math.max(lastBlockIndex.getValue().index.endOffset(), nextReadOffset);
        }
        return nextReadOffset;
    }
Load more block indexes

@return whether load more blocks
s3stream/src/main/java/com/automq/stream/s3/cache/blockcache/StreamReader.java