@Override
        public boolean hasNext() {
            return dataBuffer.isReadable() || !readAheadQueue.isEmpty() || nextIndex < objectList.size();
        }
Get the latest trim offset from the newest object.
s3stream/src/main/java/com/automq/stream/s3/wal/impl/object/ObjectWALService.java