public AbstractFile getLastFile() {
        return this.files.get(this.files.size() - 1);
    }
Flush from flushPosition
@return true if flush success
jraft-extension/java-log-storage-impl/src/main/java/com/alipay/sofa/jraft/storage/file/FileManager.java