public LogEntryIterator iterator(final LogEntryDecoder logEntryDecoder) {
        final AbstractFile[] files = this.fileManager.copyFiles();
        return new LogEntryIterator(files, logEntryDecoder, 0);
    }
@param files target files
@param logEntryDecoder decoder
@param currentReadPos the beginning read position in the first file
jraft-extension/java-log-storage-impl/src/main/java/com/alipay/sofa/jraft/storage/db/AbstractDB.java