public class AsynchronousBufferFileSegmentReader extends AsynchronousFileIOChannel<FileSegment,org.apache.flink.runtime.io.disk.iomanager.ReadRequest> implements BufferFileSegmentReader
FileIOChannel.Enumerator, FileIOChannel.IDclosed, closeLock, exception, requestQueue, requestsNotReturned, resultHandlerfileChannel, id, LOG| 限定符 | 构造器和说明 |
|---|---|
protected |
AsynchronousBufferFileSegmentReader(FileIOChannel.ID channelID,
RequestQueue<org.apache.flink.runtime.io.disk.iomanager.ReadRequest> requestQueue,
RequestDoneCallback<FileSegment> callback) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasReachedEndOfFile() |
void |
read() |
void |
seekTo(long position) |
addRequest, checkErroneous, close, closeAndDelete, handleProcessedBuffer, isClosed, registerAllRequestsProcessedListenerdeleteChannel, getChannelID, getNioFileChannel, getSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSize, isClosedprotected AsynchronousBufferFileSegmentReader(FileIOChannel.ID channelID, RequestQueue<org.apache.flink.runtime.io.disk.iomanager.ReadRequest> requestQueue, RequestDoneCallback<FileSegment> callback) throws IOException
IOExceptionpublic void read()
throws IOException
read 在接口中 BufferFileSegmentReaderIOExceptionpublic void seekTo(long position)
throws IOException
seekTo 在接口中 BufferFileSegmentReaderIOExceptionpublic boolean hasReachedEndOfFile()
hasReachedEndOfFile 在接口中 BufferFileSegmentReaderCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.