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