@InterfaceAudience.Private public interface MetricsMasterQuotaSource extends BaseSource
HBASE_METRICS_SYSTEM_NAME
Modifier and Type | Method and Description |
---|---|
void |
incrementSnapshotObserverChoreTime(long time)
Updates the metric tracking the amount of time taken by the
SnapshotQuotaObserverChore
which runs periodically. |
void |
incrementSnapshotObserverSnapshotComputationTime(long time)
Updates the metric tracking the amount of time taken by the
SnapshotQuotaObserverChore
to compute the size of one snapshot, relative to the files referenced by the originating table. |
void |
incrementSnapshotObserverSnapshotFetchTime(long time)
Updates the metric tracking the amount of time taken by the
SnapshotQuotaObserverChore
to fetch all snapshots. |
void |
incrementSpaceQuotaObserverChoreTime(long time)
Updates the metric tracking the amount of time taken by the
QuotaObserverChore
which runs periodically. |
void |
updateNumCurrentSpaceQuotaRegionSizeReports(long numCurrentRegionSizeReports)
Updates the metric tracking the number of region size reports the master is currently
retaining in memory.
|
void |
updateNumNamespacesInSpaceQuotaViolation(long numNamespacesInViolation)
Updates the metric tracking the number of namespaces the master has computed to be in
violation of their space quota.
|
void |
updateNumSpaceQuotas(long numSpaceQuotas)
Updates the metric tracking the number of space quotas defined in the system.
|
void |
updateNumTablesInSpaceQuotaViolation(long numTablesInViolation)
Updates the metric tracking the number of tables the master has computed to be in
violation of their space quota.
|
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
static final String METRICS_NAME
static final String METRICS_CONTEXT
static final String METRICS_JMX_CONTEXT
static final String METRICS_DESCRIPTION
static final String NUM_SPACE_QUOTAS_NAME
static final String NUM_SPACE_QUOTAS_DESC
static final String NUM_TABLES_QUOTA_VIOLATIONS_NAME
static final String NUM_TABLES_QUOTA_VIOLATIONS_DESC
static final String NUM_NS_QUOTA_VIOLATIONS_NAME
static final String NUM_NS_QUOTA_VIOLATIONS_DESC
static final String NUM_REGION_SIZE_REPORTS_NAME
static final String NUM_REGION_SIZE_REPORTS_DESC
static final String QUOTA_OBSERVER_CHORE_TIME_NAME
static final String QUOTA_OBSERVER_CHORE_TIME_DESC
static final String SNAPSHOT_OBSERVER_CHORE_TIME_NAME
static final String SNAPSHOT_OBSERVER_CHORE_TIME_DESC
static final String SNAPSHOT_OBSERVER_SIZE_COMPUTATION_TIME_NAME
static final String SNAPSHOT_OBSERVER_SIZE_COMPUTATION_TIME_DESC
static final String SNAPSHOT_OBSERVER_FETCH_TIME_NAME
static final String SNAPSHOT_OBSERVER_FETCH_TIME_DESC
static final String TABLE_QUOTA_USAGE_NAME
static final String TABLE_QUOTA_USAGE_DESC
static final String NS_QUOTA_USAGE_NAME
static final String NS_QUOTA_USAGE_DESC
void updateNumSpaceQuotas(long numSpaceQuotas)
numSpaceQuotas
- The number of space quotas definedvoid updateNumTablesInSpaceQuotaViolation(long numTablesInViolation)
numTablesInViolation
- The number of tables violating a space quotavoid updateNumNamespacesInSpaceQuotaViolation(long numNamespacesInViolation)
numNamespacesInViolation
- The number of namespaces violating a space quotavoid updateNumCurrentSpaceQuotaRegionSizeReports(long numCurrentRegionSizeReports)
numCurrentRegionSizeReports
- The number of region size reports the master is holding in
memoryvoid incrementSpaceQuotaObserverChoreTime(long time)
QuotaObserverChore
which runs periodically.time
- The execution time of the chore in millisecondsvoid incrementSnapshotObserverChoreTime(long time)
SnapshotQuotaObserverChore
which runs periodically.void incrementSnapshotObserverSnapshotComputationTime(long time)
SnapshotQuotaObserverChore
to compute the size of one snapshot, relative to the files referenced by the originating table.void incrementSnapshotObserverSnapshotFetchTime(long time)
SnapshotQuotaObserverChore
to fetch all snapshots.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.