Interface BlockChannelWriterWithCallback<T>
- All Superinterfaces:
FileIOChannel
- All Known Subinterfaces:
BlockChannelWriter<T>,BufferFileWriter
- All Known Implementing Classes:
AsynchronousBlockWriter,AsynchronousBlockWriterWithCallback,AsynchronousBufferFileWriter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.io.disk.iomanager.FileIOChannel
FileIOChannel.Enumerator, FileIOChannel.ID -
Method Summary
Methods inherited from interface org.apache.flink.runtime.io.disk.iomanager.FileIOChannel
close, closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSize, isClosed
-
Method Details
-
writeBlock
Writes the given block. The request may be executed synchronously, or asynchronously, depending on the implementation.- Parameters:
block- The segment to be written (transferring ownership to this writer).- Throws:
IOException- Thrown, when the writer encounters an I/O error.
-