public class CommitLogMetrics
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
com.yammer.metrics.core.Gauge<java.lang.Long> |
completedTasks
Number of completed tasks
|
static MetricNameFactory |
factory |
com.yammer.metrics.core.Gauge<java.lang.Long> |
pendingTasks
Number of pending tasks
|
com.yammer.metrics.core.Gauge<java.lang.Long> |
totalCommitLogSize
Current size used by all the commit log segments
|
com.yammer.metrics.core.Timer |
waitingOnCommit
The time spent waiting on CL sync; for Periodic this is only occurs when the sync is lagging its sync interval
|
com.yammer.metrics.core.Timer |
waitingOnSegmentAllocation
Time spent waiting for a CLS to be allocated - under normal conditions this should be zero
|
Constructor and Description |
---|
CommitLogMetrics(AbstractCommitLogService service,
CommitLogSegmentManager allocator) |
public static final MetricNameFactory factory
public final com.yammer.metrics.core.Gauge<java.lang.Long> completedTasks
public final com.yammer.metrics.core.Gauge<java.lang.Long> pendingTasks
public final com.yammer.metrics.core.Gauge<java.lang.Long> totalCommitLogSize
public final com.yammer.metrics.core.Timer waitingOnSegmentAllocation
public final com.yammer.metrics.core.Timer waitingOnCommit
public CommitLogMetrics(AbstractCommitLogService service, CommitLogSegmentManager allocator)
Copyright © 2017 The Apache Software Foundation