@InterfaceAudience.Private public class MetricsZooKeeperSourceImpl extends BaseSourceImpl implements org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSource
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registryEXCEPTION_AUTHFAILED, EXCEPTION_AUTHFAILED_DESC, EXCEPTION_CONNECTIONLOSS, EXCEPTION_CONNECTIONLOSS_DESC, EXCEPTION_DATAINCONSISTENCY, EXCEPTION_DATAINCONSISTENCY_DESC, EXCEPTION_INVALIDACL, EXCEPTION_INVALIDACL_DESC, EXCEPTION_NOAUTH, EXCEPTION_NOAUTH_DESC, EXCEPTION_OPERATIONTIMEOUT, EXCEPTION_OPERATIONTIMEOUT_DESC, EXCEPTION_RUNTIMEINCONSISTENCY, EXCEPTION_RUNTIMEINCONSISTENCY_DESC, EXCEPTION_SESSIONEXPIRED, EXCEPTION_SESSIONEXPIRED_DESC, EXCEPTION_SYSTEMERROR, EXCEPTION_SYSTEMERROR_DESC, METRICS_CONTEXT, METRICS_DESCRIPTION, METRICS_JMX_CONTEXT, METRICS_NAME, READ_OPERATION_LATENCY_DESC, READ_OPERATION_LATENCY_NAME, SYNC_OPERATION_LATENCY_DESC, SYNC_OPERATION_LATENCY_NAME, TOTAL_FAILED_ZK_CALLS, TOTAL_FAILED_ZK_CALLS_DESC, WRITE_OPERATION_LATENCY_DESC, WRITE_OPERATION_LATENCY_NAME| Constructor and Description |
|---|
MetricsZooKeeperSourceImpl() |
MetricsZooKeeperSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector,
boolean all) |
void |
incrementAuthFailedCount() |
void |
incrementConnectionLossCount() |
void |
incrementDataInconsistencyCount() |
void |
incrementInvalidACLCount() |
void |
incrementNoAuthCount() |
void |
incrementOperationTimeoutCount() |
void |
incrementRuntimeInconsistencyCount() |
void |
incrementSessionExpiredCount() |
void |
incrementSystemErrorCount() |
void |
incrementTotalFailedZKCalls() |
void |
recordReadOperationLatency(long latency) |
void |
recordSyncOperationLatency(long latency) |
void |
recordWriteOperationLatency(long latency) |
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, init, removeMetric, setGauge, updateHistogrampublic void getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector,
boolean all)
getMetrics in interface org.apache.hadoop.metrics2.MetricsSourcegetMetrics in class BaseSourceImplpublic void incrementAuthFailedCount()
incrementAuthFailedCount in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourcepublic void incrementConnectionLossCount()
incrementConnectionLossCount in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourcepublic void incrementDataInconsistencyCount()
incrementDataInconsistencyCount in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourcepublic void incrementInvalidACLCount()
incrementInvalidACLCount in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourcepublic void incrementNoAuthCount()
incrementNoAuthCount in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourcepublic void incrementOperationTimeoutCount()
incrementOperationTimeoutCount in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourcepublic void incrementRuntimeInconsistencyCount()
incrementRuntimeInconsistencyCount in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourcepublic void incrementSessionExpiredCount()
incrementSessionExpiredCount in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourcepublic void incrementSystemErrorCount()
incrementSystemErrorCount in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourcepublic void incrementTotalFailedZKCalls()
incrementTotalFailedZKCalls in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourcepublic void recordReadOperationLatency(long latency)
recordReadOperationLatency in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourcepublic void recordWriteOperationLatency(long latency)
recordWriteOperationLatency in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourcepublic void recordSyncOperationLatency(long latency)
recordSyncOperationLatency in interface org.apache.hadoop.hbase.zookeeper.MetricsZooKeeperSourceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.