public interface BlockChannelWriterWithCallback<T> extends FileIOChannel
FileIOChannel.Enumerator, FileIOChannel.ID
Modifier and Type | Method and Description |
---|---|
void |
writeBlock(T block)
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–2021 The Apache Software Foundation. All rights reserved.