@Override
    public int readFile(final ByteBufferCollector buf, final String fileName, final long offset, final long maxCount)
                                                                                                                     throws IOException,
                                                                                                                     RetryAgainException {
        return readFileWithMeta(buf, fileName, null, offset, maxCount);
    }
Read a file data form local dir by fileName.

@author boyan (boyan@alibaba-inc.com)

2018-Apr-06 9:25:12 PM
jraft-core/src/main/java/com/alipay/sofa/jraft/storage/io/LocalDirReader.java