public class ChecksummedSequentialWriter extends SequentialWriter
Modifier and Type | Class and Description |
---|---|
protected class |
ChecksummedSequentialWriter.TransactionalProxy |
SequentialWriter.BufferedFileWriterMark
Transactional.AbstractTransactional
bufferOffset, fchannel, lastFlushOffset, runPostFlush
buffer
channel
Constructor and Description |
---|
ChecksummedSequentialWriter(java.io.File file,
java.io.File crcPath,
java.io.File digestFile,
SequentialWriterOption option) |
Modifier and Type | Method and Description |
---|---|
protected void |
flushData()
Override this method instead of overriding flush()
|
protected SequentialWriter.TransactionalProxy |
txnProxy() |
abort, close, commit, current, doFlush, finish, getEstimatedOnDiskBytesWritten, getLastFlushOffset, getOnDiskFilePointer, getPath, hasPosition, isOpen, length, mark, position, prepareToCommit, resetAndTruncate, resetBuffer, setPostFlushListener, skipBytes, sync, syncDataOnlyInternal, syncInternal, truncate, writeDirectlyToChannel
flush, order, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
newDefaultChannel, retrieveTemporaryBuffer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write, writeUnsignedVInt, writeVInt
public ChecksummedSequentialWriter(java.io.File file, java.io.File crcPath, java.io.File digestFile, SequentialWriterOption option)
protected void flushData()
SequentialWriter
flushData
in class SequentialWriter
protected SequentialWriter.TransactionalProxy txnProxy()
txnProxy
in class SequentialWriter
Copyright © 2009-2022 The Apache Software Foundation