public class ChecksummedSequentialWriter extends SequentialWriter
| Modifier and Type | Class and Description |
|---|---|
protected class |
ChecksummedSequentialWriter.TransactionalProxy |
SequentialWriter.BufferedFileWriterMarkTransactional.AbstractTransactionalbuffer, 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, deleteFile, 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, writepublic ChecksummedSequentialWriter(java.io.File file,
int bufferSize,
java.io.File crcPath)
protected void flushData()
SequentialWriterflushData in class SequentialWriterprotected SequentialWriter.TransactionalProxy txnProxy()
txnProxy in class SequentialWriterCopyright © 2015 The Apache Software Foundation