public interface BlockChannelWriterWithCallback<T> extends FileIOChannel
FileIOChannel.Enumerator, FileIOChannel.ID| 限定符和类型 | 方法和说明 |
|---|---|
void |
writeBlock(T block)
Writes the given block.
|
close, closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSize, isClosedvoid 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–2022 The Apache Software Foundation. All rights reserved.