Package | Description |
---|---|
org.apache.cassandra.db.commitlog |
Modifier and Type | Method and Description |
---|---|
abstract CommitLogSegment.Allocation |
AbstractCommitLogSegmentManager.allocate(Mutation mutation,
int size)
Allocate a segment within this CLSM.
|
CommitLogSegment.Allocation |
CommitLogSegmentManagerCDC.allocate(Mutation mutation,
int size)
Reserve space in the current segment for the provided mutation or, if there isn't space available,
create a new segment.
|
CommitLogSegment.Allocation |
CommitLogSegmentManagerStandard.allocate(Mutation mutation,
int size)
Reserve space in the current segment for the provided mutation or, if there isn't space available,
create a new segment.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractCommitLogService.finishWriteFor(CommitLogSegment.Allocation alloc)
Block for @param alloc to be sync'd as necessary, and handle bookkeeping
|
protected abstract void |
AbstractCommitLogService.maybeWaitForSync(CommitLogSegment.Allocation alloc) |
protected void |
GroupCommitLogService.maybeWaitForSync(CommitLogSegment.Allocation alloc) |
Copyright © 2009- The Apache Software Foundation