public class ChecksummedSequentialWriter extends SequentialWriter
Modifier and Type | Class and Description |
---|---|
protected class |
ChecksummedSequentialWriter.TransactionalProxy |
SequentialWriter.BufferedFileWriterMark
Transactional.AbstractTransactional
bufferOffset, descriptor, fchannel, lastFlushOffset, runPostFlush
buffer, strictFlushing
channel
Constructor and Description |
---|
ChecksummedSequentialWriter(java.io.File file,
int bufferSize,
java.io.File crcPath) |
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, finishOnClose, getLastFlushOffset, getOnDiskFilePointer, getPath, hasPosition, isOpen, length, mark, open, open, open, position, prepareToCommit, resetAndTruncate, resetBuffer, setDescriptor, setPostFlushListener, 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, int bufferSize, java.io.File crcPath)
protected void flushData()
SequentialWriter
flushData
in class SequentialWriter
protected SequentialWriter.TransactionalProxy txnProxy()
txnProxy
in class SequentialWriter
Copyright © 2015 The Apache Software Foundation