public class ChecksummedSequentialWriter extends SequentialWriter
Modifier and Type | Class and Description |
---|---|
protected class |
ChecksummedSequentialWriter.TransactionalProxy |
SequentialWriter.BufferedFileWriterMark
Transactional.AbstractTransactional
buffer, bufferOffset, channel, descriptor, isDirty, lastFlushOffset, runPostFlush, stream, syncNeeded
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, finish, flush, flushInternal, getFilePointer, getLastFlushOffset, getOnDiskFilePointer, getPath, isOpen, length, mark, open, open, open, prepareToCommit, reBuffer, releaseFileHandle, resetAndTruncate, resetBuffer, setDescriptor, setPostFlushListener, sync, syncDataOnlyInternal, syncInternal, truncate, write, write, write, write
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