Interface BlockChannelWriterWithCallback<T>

All Superinterfaces:
FileIOChannel
All Known Subinterfaces:
BlockChannelWriter<T>, BufferFileWriter
All Known Implementing Classes:
AsynchronousBlockWriter, AsynchronousBlockWriterWithCallback, AsynchronousBufferFileWriter

public interface BlockChannelWriterWithCallback<T> extends FileIOChannel
  • Method Details

    • writeBlock

      void writeBlock(T block) throws IOException
      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.