@InterfaceAudience.Private public interface MetricsRegionServerQuotaSource extends BaseSource
Modifier and Type | Field and Description |
---|---|
static String |
METRICS_CONTEXT |
static String |
METRICS_DESCRIPTION |
static String |
METRICS_JMX_CONTEXT |
static String |
METRICS_NAME |
HBASE_METRICS_SYSTEM_NAME
Modifier and Type | Method and Description |
---|---|
void |
incrementSpaceQuotaFileSystemScannerChoreTime(long time)
Updates the metric tracking how much time was spent scanning the filesystem to compute
the size of each region hosted by this RegionServer.
|
void |
incrementSpaceQuotaRefresherChoreTime(long time)
Updates the metric tracking how much time was spent updating the RegionServer with the
latest information on space quotas from the
hbase:quota table. |
void |
updateNumTablesInSpaceQuotaViolation(long tablesInViolation)
Updates the metric tracking how many tables this RegionServer has marked as in violation
of their space quota.
|
void |
updateNumTableSpaceQuotaSnapshots(long numSnapshots)
Updates the metric tracking how many tables this RegionServer has received
SpaceQuotaSnapshot s for. |
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_DESCRIPTION
static final String METRICS_JMX_CONTEXT
void updateNumTablesInSpaceQuotaViolation(long tablesInViolation)
void updateNumTableSpaceQuotaSnapshots(long numSnapshots)
SpaceQuotaSnapshot
s for.numSnapshots
- The number of SpaceQuotaSnapshot
s received from the Master.void incrementSpaceQuotaFileSystemScannerChoreTime(long time)
time
- The execution time of the chore in milliseconds.void incrementSpaceQuotaRefresherChoreTime(long time)
hbase:quota
table.time
- The execution time of the chore in milliseconds.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.