public class ChecksummedSequentialWriter extends SequentialWriter
Modifier and Type | Class and Description |
---|---|
protected class |
ChecksummedSequentialWriter.TransactionalProxy |
SequentialWriter.BufferedFileWriterMark
Transactional.AbstractTransactional
bufferOffset, fchannel, lastFlushOffset, runPostFlush
buffer, strictFlushing
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
applyToChannel, flush, order, write, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUnsignedVInt, writeUTF, writeVInt
newDefaultChannel, retrieveTemporaryBuffer
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 © 2017 The Apache Software Foundation