Package | Description |
---|---|
org.apache.cassandra.db.commitlog |
Modifier and Type | Field and Description |
---|---|
CommitLogDescriptor |
CommitLogSegment.descriptor |
Modifier and Type | Method and Description |
---|---|
static CommitLogDescriptor |
CommitLogDescriptor.fromFileName(java.lang.String name) |
static CommitLogDescriptor |
CommitLogDescriptor.fromHeader(java.io.File file,
EncryptionContext encryptionContext) |
static CommitLogDescriptor |
CommitLogDescriptor.readHeader(java.io.DataInput input,
EncryptionContext encryptionContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
CommitLogDescriptor.equals(CommitLogDescriptor that) |
boolean |
CommitLogDescriptor.equalsIgnoringCompression(CommitLogDescriptor that) |
void |
CommitLogReadHandler.handleMutation(Mutation m,
int size,
int entryLocation,
CommitLogDescriptor desc)
Process a deserialized mutation
|
void |
CommitLogReplayer.handleMutation(Mutation m,
int size,
int entryLocation,
CommitLogDescriptor desc) |
protected void |
CommitLogReader.readMutation(CommitLogReadHandler handler,
byte[] inputBuffer,
int size,
CommitLogPosition minPosition,
int entryLocation,
CommitLogDescriptor desc)
Deserializes and passes a Mutation to the ICommitLogReadHandler requested
|
static void |
CommitLogSegment.writeCDCIndexFile(CommitLogDescriptor desc,
int offset,
boolean complete)
We persist the offset of the last data synced to disk so clients can parse only durable data if they choose.
|
static void |
CommitLogDescriptor.writeHeader(java.nio.ByteBuffer out,
CommitLogDescriptor descriptor) |
static void |
CommitLogDescriptor.writeHeader(java.nio.ByteBuffer out,
CommitLogDescriptor descriptor,
java.util.Map<java.lang.String,java.lang.String> additionalHeaders) |
Constructor and Description |
---|
CommitLogSegmentReader(CommitLogReadHandler handler,
CommitLogDescriptor descriptor,
RandomAccessReader reader,
boolean tolerateTruncation) |
Copyright © 2009- The Apache Software Foundation