Class GroupCommitLogService
- java.lang.Object
-
- org.apache.cassandra.db.commitlog.AbstractCommitLogService
-
- org.apache.cassandra.db.commitlog.GroupCommitLogService
-
public class GroupCommitLogService extends AbstractCommitLogService
A commitlog service that will block returning an ACK back to the a coordinator/client for a minimum amount of time as we wait until the the commit log segment is flushed.
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.db.commitlog.AbstractCommitLogService
haveWork, lastSyncedAt, pending, syncComplete
-
-
Constructor Summary
Constructors Constructor Description GroupCommitLogService(CommitLog commitLog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
maybeWaitForSync(CommitLogSegment.Allocation alloc)
-
Methods inherited from class org.apache.cassandra.db.commitlog.AbstractCommitLogService
awaitTermination, finishWriteFor, getCompletedTasks, getPendingTasks, shutdown, syncBlocking
-
-
-
-
Constructor Detail
-
GroupCommitLogService
public GroupCommitLogService(CommitLog commitLog)
-
-
Method Detail
-
maybeWaitForSync
protected void maybeWaitForSync(CommitLogSegment.Allocation alloc)
- Specified by:
maybeWaitForSync
in classAbstractCommitLogService
-
-