@InterfaceAudience.Private public class MetricsWALSourceImpl extends BaseSourceImpl implements MetricsWALSource
MetricsWALSourcemetricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registryAPPEND_COUNT, APPEND_COUNT_DESC, APPEND_SIZE, APPEND_SIZE_DESC, APPEND_TIME, APPEND_TIME_DESC, ERROR_ROLL_REQUESTED, ERROR_ROLL_REQUESTED_DESC, LOW_REPLICA_ROLL_REQUESTED, LOW_REPLICA_ROLL_REQUESTED_DESC, METRICS_CONTEXT, METRICS_DESCRIPTION, METRICS_JMX_CONTEXT, METRICS_NAME, ROLL_REQUESTED, ROLL_REQUESTED_DESC, SIZE_ROLL_REQUESTED, SIZE_ROLL_REQUESTED_DESC, SLOW_APPEND_COUNT, SLOW_APPEND_COUNT_DESC, SLOW_SYNC_ROLL_REQUESTED, SLOW_SYNC_ROLL_REQUESTED_DESC, SUCCESSFUL_LOG_ROLLS, SUCCESSFUL_LOG_ROLLS_DESC, SYNC_TIME, SYNC_TIME_DESC, WRITTEN_BYTES, WRITTEN_BYTES_DESCHBASE_METRICS_SYSTEM_NAME| Constructor and Description |
|---|
MetricsWALSourceImpl() |
MetricsWALSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext) |
| Modifier and Type | Method and Description |
|---|---|
long |
getSlowAppendCount() |
long |
getSuccessfulLogRolls() |
void |
incrementAppendCount(TableName tableName) |
void |
incrementAppendSize(TableName tableName,
long size) |
void |
incrementAppendTime(long time) |
void |
incrementErrorLogRoll() |
void |
incrementLogRollRequested() |
void |
incrementLowReplicationLogRoll() |
void |
incrementSizeLogRoll() |
void |
incrementSlowAppendCount() |
void |
incrementSlowSyncLogRoll() |
void |
incrementSuccessfulLogRolls() |
void |
incrementSyncTime(long time) |
void |
incrementWrittenBytes(long val) |
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, init, removeMetric, setGauge, updateHistogramclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogrampublic void incrementAppendSize(TableName tableName, long size)
incrementAppendSize in interface MetricsWALSourcepublic void incrementAppendTime(long time)
incrementAppendTime in interface MetricsWALSourcepublic void incrementAppendCount(TableName tableName)
incrementAppendCount in interface MetricsWALSourcepublic void incrementSlowAppendCount()
incrementSlowAppendCount in interface MetricsWALSourcepublic void incrementSyncTime(long time)
incrementSyncTime in interface MetricsWALSourcepublic void incrementLogRollRequested()
incrementLogRollRequested in interface MetricsWALSourcepublic void incrementErrorLogRoll()
incrementErrorLogRoll in interface MetricsWALSourcepublic void incrementLowReplicationLogRoll()
incrementLowReplicationLogRoll in interface MetricsWALSourcepublic void incrementSlowSyncLogRoll()
incrementSlowSyncLogRoll in interface MetricsWALSourcepublic void incrementSizeLogRoll()
incrementSizeLogRoll in interface MetricsWALSourcepublic long getSlowAppendCount()
getSlowAppendCount in interface MetricsWALSourcepublic void incrementWrittenBytes(long val)
incrementWrittenBytes in interface MetricsWALSourcepublic void incrementSuccessfulLogRolls()
incrementSuccessfulLogRolls in interface MetricsWALSourcepublic long getSuccessfulLogRolls()
getSuccessfulLogRolls in interface MetricsWALSourceCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.