public class ChecksummedSequentialWriter extends SequentialWriter
| Modifier and Type | Class and Description |
|---|---|
protected class |
ChecksummedSequentialWriter.TransactionalProxy |
SequentialWriter.BufferedFileWriterMarkTransactional.AbstractTransactionalbufferOffset, fchannel, lastFlushOffset, runPostFlushbuffer, strictFlushingchannel| 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, 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,
java.io.File crcPath,
java.io.File digestFile,
SequentialWriterOption option)
protected void flushData()
SequentialWriterflushData in class SequentialWriterprotected SequentialWriter.TransactionalProxy txnProxy()
txnProxy in class SequentialWriterCopyright © 2018 The Apache Software Foundation