@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| Constructor and Description |
|---|
MetricsMasterQuotaSourceImpl(MetricsMasterWrapper wrapper) |
MetricsMasterQuotaSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext,
MetricsMasterWrapper wrapper) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface MetricsMasterQuotaSourcepublic void updateNumTablesInSpaceQuotaViolation(long numTablesInViolation)
updateNumTablesInSpaceQuotaViolation in interface MetricsMasterQuotaSourcepublic void updateNumNamespacesInSpaceQuotaViolation(long numNamespacesInViolation)
updateNumNamespacesInSpaceQuotaViolation in interface MetricsMasterQuotaSourcepublic void updateNumCurrentSpaceQuotaRegionSizeReports(long numCurrentRegionSizeReports)
updateNumCurrentSpaceQuotaRegionSizeReports in interface MetricsMasterQuotaSourcepublic void incrementSpaceQuotaObserverChoreTime(long time)
incrementSpaceQuotaObserverChoreTime in interface MetricsMasterQuotaSourcepublic void incrementSnapshotObserverChoreTime(long time)
incrementSnapshotObserverChoreTime in interface MetricsMasterQuotaSourcepublic void getMetrics(MetricsCollector metricsCollector, boolean all)
getMetrics in interface MetricsSourcegetMetrics in class BaseSourceImplpublic void incrementSnapshotObserverSnapshotComputationTime(long time)
incrementSnapshotObserverSnapshotComputationTime in interface MetricsMasterQuotaSourcepublic void incrementSnapshotObserverSnapshotFetchTime(long time)
incrementSnapshotObserverSnapshotFetchTime in interface MetricsMasterQuotaSourceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.