public interface BlockChannelWriterWithCallback<T> extends FileIOChannel
|Modifier and Type||Method and Description|
Writes the given block.
close, closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSize, isClosed
void writeBlock(T block) throws IOException
block- The segment to be written (transferring ownership to this writer).
IOException- Thrown, when the writer encounters an I/O error.
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.