public interface FileReader
static final int EOF
String getPath()
int readFile(ByteBufferCollector buf, String fileName, long offset, long maxCount) throws IOException, RetryAgainException
buf - read bytes into this buffileName - file nameoffset - the offset of filemaxCount - max read bytesIOException - if some I/O error occursRetryAgainException - if it's not allowed to read partly
or it's allowed but throughput is throttled to 0, try again.Copyright © 2021. All rights reserved.