public class BufferFileWriterImpl extends AbstractFileIOChannel implements BufferFileWriter
BufferFileWriter
implementation.FileIOChannel.Enumerator, FileIOChannel.ID
fileChannel, id, LOG
Modifier | Constructor and Description |
---|---|
protected |
BufferFileWriterImpl(FileIOChannel.ID channelID) |
Modifier and Type | Method and Description |
---|---|
void |
writeBlock(Buffer buffer)
Writes the given block.
|
close, closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSize, isClosed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSize, isClosed
protected BufferFileWriterImpl(FileIOChannel.ID channelID) throws IOException
IOException
public void writeBlock(Buffer buffer) throws IOException
BufferFileWriter
writeBlock
in interface BufferFileWriter
IOException
- Thrown, when the writer encounters an I/O error.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.