@InterfaceAudience.Private public interface MetricsRegionServerQuotaSource extends BaseSource
| Modifier and Type | Field and Description | 
|---|---|
static String | 
FILE_SYSTEM_UTILIZATION_CHORE_TIME  | 
static String | 
METRICS_CONTEXT  | 
static String | 
METRICS_DESCRIPTION  | 
static String | 
METRICS_JMX_CONTEXT  | 
static String | 
METRICS_NAME  | 
static String | 
NUM_REGION_SIZE_REPORT_NAME  | 
static String | 
NUM_SPACE_SNAPSHOTS_RECEIVED_NAME  | 
static String | 
NUM_TABLES_IN_VIOLATION_NAME  | 
static String | 
REGION_SIZE_REPORTING_CHORE_TIME_NAME  | 
static String | 
SPACE_QUOTA_REFRESHER_CHORE_TIME  | 
HBASE_METRICS_SYSTEM_NAME| Modifier and Type | Method and Description | 
|---|---|
void | 
incrementNumRegionSizeReportsSent(long numReportsSent)
Updates the metric tracking how many region size reports were sent from this RegionServer to
 the Master. 
 | 
void | 
incrementRegionSizeReportingChoreTime(long time)
Updates the metric tracking how much time was spent sending region size reports to the Master
 by the RegionSizeReportingChore. 
 | 
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
  
SpaceQuotaSnapshots for. | 
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogramstatic final String METRICS_NAME
static final String METRICS_CONTEXT
static final String METRICS_DESCRIPTION
static final String METRICS_JMX_CONTEXT
static final String NUM_TABLES_IN_VIOLATION_NAME
static final String NUM_SPACE_SNAPSHOTS_RECEIVED_NAME
static final String FILE_SYSTEM_UTILIZATION_CHORE_TIME
static final String SPACE_QUOTA_REFRESHER_CHORE_TIME
static final String NUM_REGION_SIZE_REPORT_NAME
static final String REGION_SIZE_REPORTING_CHORE_TIME_NAME
void updateNumTablesInSpaceQuotaViolation(long tablesInViolation)
void updateNumTableSpaceQuotaSnapshots(long numSnapshots)
SpaceQuotaSnapshots for.numSnapshots - The number of SpaceQuotaSnapshots 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.void incrementNumRegionSizeReportsSent(long numReportsSent)
numReportsSent - The number of region size reports sentvoid incrementRegionSizeReportingChoreTime(long time)
time - The execution time in milliseconds.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.