public class MetricsHBaseServerSourceImpl extends BaseSourceImpl implements MetricsHBaseServerSource
metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistryAUTHENTICATION_FAILURES_DESC, AUTHENTICATION_FAILURES_NAME, AUTHENTICATION_SUCCESSES_DESC, AUTHENTICATION_SUCCESSES_NAME, AUTHORIZATION_FAILURES_DESC, AUTHORIZATION_FAILURES_NAME, AUTHORIZATION_SUCCESSES_DESC, AUTHORIZATION_SUCCESSES_NAME, GENERAL_QUEUE_DESC, GENERAL_QUEUE_NAME, NUM_ACTIVE_HANDLER_DESC, NUM_ACTIVE_HANDLER_NAME, NUM_OPEN_CONNECTIONS_DESC, NUM_OPEN_CONNECTIONS_NAME, PRIORITY_QUEUE_DESC, PRIORITY_QUEUE_NAME, PROCESS_CALL_TIME_DESC, PROCESS_CALL_TIME_NAME, QUEUE_CALL_TIME_DESC, QUEUE_CALL_TIME_NAME, QUEUE_SIZE_DESC, QUEUE_SIZE_NAME, RECEIVED_BYTES_DESC, RECEIVED_BYTES_NAME, REPLICATION_QUEUE_DESC, REPLICATION_QUEUE_NAME, SENT_BYTES_DESC, SENT_BYTES_NAMEHBASE_METRICS_SYSTEM_NAME| Constructor and Description |
|---|
MetricsHBaseServerSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext,
MetricsHBaseServerWrapper wrapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticationFailure() |
void |
authenticationSuccess() |
void |
authorizationFailure() |
void |
authorizationSuccess() |
void |
dequeuedCall(int qTime) |
void |
getMetrics(org.apache.hadoop.metrics2.MetricsBuilder metricsBuilder,
boolean all)
Method to export all the metrics.
|
void |
processedCall(int processingTime) |
void |
receivedBytes(int count) |
void |
sentBytes(long count) |
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantilepublic MetricsHBaseServerSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext, MetricsHBaseServerWrapper wrapper)
public void authorizationSuccess()
authorizationSuccess in interface MetricsHBaseServerSourcepublic void authorizationFailure()
authorizationFailure in interface MetricsHBaseServerSourcepublic void authenticationFailure()
authenticationFailure in interface MetricsHBaseServerSourcepublic void authenticationSuccess()
authenticationSuccess in interface MetricsHBaseServerSourcepublic void sentBytes(long count)
sentBytes in interface MetricsHBaseServerSourcepublic void receivedBytes(int count)
receivedBytes in interface MetricsHBaseServerSourcepublic void dequeuedCall(int qTime)
dequeuedCall in interface MetricsHBaseServerSourcepublic void processedCall(int processingTime)
processedCall in interface MetricsHBaseServerSourcepublic void getMetrics(org.apache.hadoop.metrics2.MetricsBuilder metricsBuilder,
boolean all)
BaseSourceImplgetMetrics in interface org.apache.hadoop.metrics2.MetricsSourcegetMetrics in class BaseSourceImplmetricsBuilder - Builder to accept metricsall - push all or only changed?Copyright © 2014 The Apache Software Foundation. All rights reserved.