public class ChecksummedSequentialWriter extends SequentialWriter
| Modifier and Type | Class and Description |
|---|---|
protected class |
ChecksummedSequentialWriter.TransactionalProxy |
SequentialWriter.BufferedFileWriterMarkTransactional.AbstractTransactionalbufferOffset, descriptor, fchannel, lastFlushOffset, runPostFlushbuffer, strictFlushingchannel| 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, truncateapplyToChannel, flush, order, write, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUnsignedVInt, writeUTF, writeVIntnewDefaultChannel, retrieveTemporaryBufferpublic 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 © 2016 The Apache Software Foundation