Package | Description |
---|---|
org.apache.cassandra.db.commitlog |
Modifier and Type | Class and Description |
---|---|
class |
CommitLogReplayer |
Modifier and Type | Method and Description |
---|---|
void |
CommitLogReader.readAllFiles(CommitLogReadHandler handler,
java.io.File[] files)
Reads all passed in files with no minimum, no start, and no mutation limit.
|
void |
CommitLogReader.readAllFiles(CommitLogReadHandler handler,
java.io.File[] files,
CommitLogPosition minPosition)
Reads all passed in files with minPosition, no start, and no mutation limit.
|
void |
CommitLogReader.readCommitLogSegment(CommitLogReadHandler handler,
java.io.File file,
boolean tolerateTruncation)
Reads passed in file fully
|
void |
CommitLogReader.readCommitLogSegment(CommitLogReadHandler handler,
java.io.File file,
CommitLogPosition minPosition,
boolean tolerateTruncation)
Reads all mutations from passed in file from minPosition
|
void |
CommitLogReader.readCommitLogSegment(CommitLogReadHandler handler,
java.io.File file,
CommitLogPosition minPosition,
int mutationLimit,
boolean tolerateTruncation)
Reads mutations from file, handing them off to handler
|
void |
CommitLogReader.readCommitLogSegment(CommitLogReadHandler handler,
java.io.File file,
int mutationLimit,
boolean tolerateTruncation)
Reads passed in file fully, up to mutationLimit count
|
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
|
Constructor and Description |
---|
CommitLogSegmentReader(CommitLogReadHandler handler,
CommitLogDescriptor descriptor,
RandomAccessReader reader,
boolean tolerateTruncation) |
Copyright © 2009- The Apache Software Foundation