public class BufferFileWriterImpl extends AbstractFileIOChannel implements BufferFileWriter
BufferFileWriter implementation.FileIOChannel.Enumerator, FileIOChannel.IDfileChannel, 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, isClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSize, isClosedprotected BufferFileWriterImpl(FileIOChannel.ID channelID) throws IOException
IOExceptionpublic void writeBlock(Buffer buffer) throws IOException
BufferFileWriterwriteBlock in interface BufferFileWriterIOException - Thrown, when the writer encounters an I/O error.Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.