Interface BufferFileWriter
-
- All Superinterfaces:
BlockChannelWriterWithCallback<Buffer>
,FileIOChannel
- All Known Implementing Classes:
AsynchronousBufferFileWriter
public interface BufferFileWriter extends BlockChannelWriterWithCallback<Buffer>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.io.disk.iomanager.FileIOChannel
FileIOChannel.Enumerator, FileIOChannel.ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getNumberOfOutstandingRequests()
Returns the number of outstanding requests.boolean
registerAllRequestsProcessedListener(NotificationListener listener)
Registers a listener, which is notified after all outstanding requests have been processed.-
Methods inherited from interface org.apache.flink.runtime.io.disk.iomanager.BlockChannelWriterWithCallback
writeBlock
-
Methods inherited from interface org.apache.flink.runtime.io.disk.iomanager.FileIOChannel
close, closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSize, isClosed
-
-
-
-
Method Detail
-
getNumberOfOutstandingRequests
int getNumberOfOutstandingRequests()
Returns the number of outstanding requests.
-
registerAllRequestsProcessedListener
boolean registerAllRequestsProcessedListener(NotificationListener listener) throws IOException
Registers a listener, which is notified after all outstanding requests have been processed.- Throws:
IOException
-
-