@InterfaceAudience.Private public class MetricsMasterQuotaSourceImpl extends BaseSourceImpl implements MetricsMasterQuotaSource
MetricsMasterQuotaSource which writes the values passed in via the
interface to the metrics backend.metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registryMETRICS_CONTEXT, METRICS_DESCRIPTION, METRICS_JMX_CONTEXT, METRICS_NAME, NS_QUOTA_USAGE_DESC, NS_QUOTA_USAGE_NAME, NUM_NS_QUOTA_VIOLATIONS_DESC, NUM_NS_QUOTA_VIOLATIONS_NAME, NUM_REGION_SIZE_REPORTS_DESC, NUM_REGION_SIZE_REPORTS_NAME, NUM_SPACE_QUOTAS_DESC, NUM_SPACE_QUOTAS_NAME, NUM_TABLES_QUOTA_VIOLATIONS_DESC, NUM_TABLES_QUOTA_VIOLATIONS_NAME, QUOTA_OBSERVER_CHORE_TIME_DESC, QUOTA_OBSERVER_CHORE_TIME_NAME, SNAPSHOT_OBSERVER_CHORE_TIME_DESC, SNAPSHOT_OBSERVER_CHORE_TIME_NAME, SNAPSHOT_OBSERVER_FETCH_TIME_DESC, SNAPSHOT_OBSERVER_FETCH_TIME_NAME, SNAPSHOT_OBSERVER_SIZE_COMPUTATION_TIME_DESC, SNAPSHOT_OBSERVER_SIZE_COMPUTATION_TIME_NAME, TABLE_QUOTA_USAGE_DESC, TABLE_QUOTA_USAGE_NAMEHBASE_METRICS_SYSTEM_NAME| 构造器和说明 |
|---|
MetricsMasterQuotaSourceImpl(MetricsMasterWrapper wrapper) |
MetricsMasterQuotaSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext,
MetricsMasterWrapper wrapper) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
getMetrics(MetricsCollector metricsCollector,
boolean all) |
void |
incrementSnapshotObserverChoreTime(long time) |
void |
incrementSnapshotObserverSnapshotComputationTime(long time) |
void |
incrementSnapshotObserverSnapshotFetchTime(long time) |
void |
incrementSpaceQuotaObserverChoreTime(long time) |
void |
updateNumCurrentSpaceQuotaRegionSizeReports(long numCurrentRegionSizeReports) |
void |
updateNumNamespacesInSpaceQuotaViolation(long numNamespacesInViolation) |
void |
updateNumSpaceQuotas(long numSpaceQuotas) |
void |
updateNumTablesInSpaceQuotaViolation(long numTablesInViolation) |
decGauge, 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 MetricsMasterQuotaSourceImpl(MetricsMasterWrapper wrapper)
public MetricsMasterQuotaSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext, MetricsMasterWrapper wrapper)
public void updateNumSpaceQuotas(long numSpaceQuotas)
updateNumSpaceQuotas 在接口中 MetricsMasterQuotaSourcepublic void updateNumTablesInSpaceQuotaViolation(long numTablesInViolation)
public void updateNumNamespacesInSpaceQuotaViolation(long numNamespacesInViolation)
public void updateNumCurrentSpaceQuotaRegionSizeReports(long numCurrentRegionSizeReports)
public void incrementSpaceQuotaObserverChoreTime(long time)
public void incrementSnapshotObserverChoreTime(long time)
public void getMetrics(MetricsCollector metricsCollector, boolean all)
getMetrics 在接口中 MetricsSourcegetMetrics 在类中 BaseSourceImplpublic void incrementSnapshotObserverSnapshotComputationTime(long time)
public void incrementSnapshotObserverSnapshotFetchTime(long time)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.