Package org.apache.cassandra.io.util
Class ChecksummedSequentialWriter
java.lang.Object
java.io.OutputStream
org.apache.cassandra.io.util.DataOutputStreamPlus
org.apache.cassandra.io.util.BufferedDataOutputStreamPlus
org.apache.cassandra.io.util.SequentialWriter
org.apache.cassandra.io.util.ChecksummedSequentialWriter
- All Implemented Interfaces:
Closeable,DataOutput,Flushable,AutoCloseable,DataOutputPlus,Transactional
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.cassandra.io.util.SequentialWriter
SequentialWriter.BufferedFileWriterMarkNested classes/interfaces inherited from interface org.apache.cassandra.utils.concurrent.Transactional
Transactional.AbstractTransactional -
Field Summary
Fields inherited from class org.apache.cassandra.io.util.SequentialWriter
bufferOffset, fchannel, lastFlushOffset, option, runPostFlushFields inherited from class org.apache.cassandra.io.util.BufferedDataOutputStreamPlus
bufferFields inherited from class org.apache.cassandra.io.util.DataOutputStreamPlus
channel -
Constructor Summary
ConstructorsConstructorDescriptionChecksummedSequentialWriter(File file, File crcPath, File digestFile, SequentialWriterOption option) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidOverride this method instead of overriding flush()protected SequentialWriter.TransactionalProxytxnProxy()Methods inherited from class org.apache.cassandra.io.util.SequentialWriter
abort, bytesLeftInPage, close, commit, current, doFlush, finish, getEstimatedOnDiskBytesWritten, getFile, getLastFlushOffset, getOnDiskFilePointer, getPath, hasPosition, isOpen, length, mark, maxBytesInPage, paddedPosition, padToPageBoundary, position, prepareToCommit, resetAndTruncate, resetBuffer, setPostFlushListener, skipBytes, sync, syncDataOnlyInternal, syncInternal, truncate, writeDirectlyToChannelMethods inherited from class org.apache.cassandra.io.util.BufferedDataOutputStreamPlus
allocate, flush, order, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeMostSignificantBytes, writeShort, writeUTFMethods inherited from class org.apache.cassandra.io.util.DataOutputStreamPlus
newDefaultChannel, retrieveTemporaryBufferMethods inherited from class java.io.OutputStream
nullOutputStreamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.io.util.DataOutputPlus
write, writeUnsignedVInt, writeUnsignedVInt, writeUnsignedVInt32, writeVInt, writeVInt, writeVInt32
-
Constructor Details
-
ChecksummedSequentialWriter
public ChecksummedSequentialWriter(File file, File crcPath, File digestFile, SequentialWriterOption option)
-
-
Method Details
-
flushData
protected void flushData()Description copied from class:SequentialWriterOverride this method instead of overriding flush()- Overrides:
flushDatain classSequentialWriter
-
txnProxy
- Overrides:
txnProxyin classSequentialWriter
-