Package org.apache.cassandra.metrics
Class CommitLogMetrics
- java.lang.Object
-
- org.apache.cassandra.metrics.CommitLogMetrics
-
public class CommitLogMetrics extends java.lang.Object
Metrics for commit log
-
-
Field Summary
Fields Modifier and Type Field Description com.codahale.metrics.Gauge<java.lang.Long>
completedTasks
Number of completed tasksstatic MetricNameFactory
factory
com.codahale.metrics.Meter
oversizedMutations
Number and rate of oversized mutationscom.codahale.metrics.Gauge<java.lang.Long>
pendingTasks
Number of pending taskscom.codahale.metrics.Gauge<java.lang.Long>
totalCommitLogSize
Current size used by all the commit log segmentscom.codahale.metrics.Timer
waitingOnCommit
The time spent waiting on CL sync; for Periodic this is only occurs when the sync is lagging its sync intervalcom.codahale.metrics.Timer
waitingOnFlush
Time spent actually flushing the contents of a buffer to diskcom.codahale.metrics.Timer
waitingOnSegmentAllocation
Time spent waiting for a CLS to be allocated - under normal conditions this should be zero
-
Constructor Summary
Constructors Constructor Description CommitLogMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attach(AbstractCommitLogService service, AbstractCommitLogSegmentManager segmentManager)
-
-
-
Field Detail
-
factory
public static final MetricNameFactory factory
-
completedTasks
public com.codahale.metrics.Gauge<java.lang.Long> completedTasks
Number of completed tasks
-
pendingTasks
public com.codahale.metrics.Gauge<java.lang.Long> pendingTasks
Number of pending tasks
-
totalCommitLogSize
public com.codahale.metrics.Gauge<java.lang.Long> totalCommitLogSize
Current size used by all the commit log segments
-
waitingOnSegmentAllocation
public final com.codahale.metrics.Timer waitingOnSegmentAllocation
Time spent waiting for a CLS to be allocated - under normal conditions this should be zero
-
waitingOnCommit
public final com.codahale.metrics.Timer waitingOnCommit
The time spent waiting on CL sync; for Periodic this is only occurs when the sync is lagging its sync interval
-
waitingOnFlush
public final com.codahale.metrics.Timer waitingOnFlush
Time spent actually flushing the contents of a buffer to disk
-
oversizedMutations
public final com.codahale.metrics.Meter oversizedMutations
Number and rate of oversized mutations
-
-
Method Detail
-
attach
public void attach(AbstractCommitLogService service, AbstractCommitLogSegmentManager segmentManager)
-
-