@InterfaceAudience.Private public interface MetricsZooKeeperSource extends BaseSource
HBASE_METRICS_SYSTEM_NAME| 限定符和类型 | 方法和说明 |
|---|---|
void |
incrementAuthFailedCount()
Increment the count of failed ops due to AUTHFAILED Exception.
|
void |
incrementConnectionLossCount()
Increment the count of failed ops due to a CONNECTIONLOSS Exception.
|
void |
incrementDataInconsistencyCount()
Increment the count of failed ops due to a DATAINCONSISTENCY Exception.
|
void |
incrementInvalidACLCount()
Increment the count of failed ops due to INVALIDACL Exception.
|
void |
incrementNoAuthCount()
Increment the count of failed ops due to NOAUTH Exception.
|
void |
incrementOperationTimeoutCount()
Increment the count of failed ops due to an OPERATIONTIMEOUT Exception.
|
void |
incrementRuntimeInconsistencyCount()
Increment the count of failed ops due to RUNTIMEINCONSISTENCY Exception.
|
void |
incrementSessionExpiredCount()
Increment the count of failed ops due to a SESSIONEXPIRED Exception.
|
void |
incrementSystemErrorCount()
Increment the count of failed ops due to a SYSTEMERROR Exception.
|
void |
incrementTotalFailedZKCalls()
Record the total number of failed ZooKeeper API calls.
|
void |
recordReadOperationLatency(long latency)
Record the latency incurred for read operations.
|
void |
recordSyncOperationLatency(long latency)
Record the latency incurred for sync operations.
|
void |
recordWriteOperationLatency(long latency)
Record the latency incurred for write operations.
|
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogramstatic final String METRICS_CONTEXT
static final String METRICS_JMX_CONTEXT
static final String EXCEPTION_RUNTIMEINCONSISTENCY_DESC
void incrementAuthFailedCount()
void incrementConnectionLossCount()
void incrementDataInconsistencyCount()
void incrementInvalidACLCount()
void incrementNoAuthCount()
void incrementOperationTimeoutCount()
void incrementRuntimeInconsistencyCount()
void incrementSessionExpiredCount()
void incrementSystemErrorCount()
void recordReadOperationLatency(long latency)
void recordWriteOperationLatency(long latency)
void recordSyncOperationLatency(long latency)
void incrementTotalFailedZKCalls()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.