@InterfaceAudience.Private public interface MetricsAssignmentManagerSource extends BaseSource
Modifier and Type | Field and Description |
---|---|
static String |
ASSIGN_METRIC_PREFIX |
static String |
MERGE_METRIC_PREFIX |
static String |
METRICS_CONTEXT
The context metrics will be under.
|
static String |
METRICS_DESCRIPTION
Description
|
static String |
METRICS_JMX_CONTEXT
The name of the metrics context that metrics will be under in jmx
|
static String |
METRICS_NAME
The name of the metrics
|
static String |
OPERATION_COUNT_NAME |
static String |
RIT_COUNT_DESC |
static String |
RIT_COUNT_NAME |
static String |
RIT_COUNT_OVER_THRESHOLD_DESC |
static String |
RIT_COUNT_OVER_THRESHOLD_NAME |
static String |
RIT_DURATION_DESC |
static String |
RIT_DURATION_NAME |
static String |
RIT_OLDEST_AGE_DESC |
static String |
RIT_OLDEST_AGE_NAME |
static String |
SPLIT_METRIC_PREFIX |
static String |
UNASSIGN_METRIC_PREFIX |
HBASE_METRICS_SYSTEM_NAME
Modifier and Type | Method and Description |
---|---|
OperationMetrics |
getAssignMetrics() |
OperationMetrics |
getMergeMetrics() |
OperationMetrics |
getSplitMetrics() |
OperationMetrics |
getUnassignMetrics() |
void |
incrementOperationCounter()
TODO: Remove.
|
void |
setRIT(int ritCount)
Set the number of regions in transition.
|
void |
setRITCountOverThreshold(int ritCountOverThreshold)
Set the count of the number of regions that have been in transition over the threshold time.
|
void |
setRITOldestAge(long age)
Set the oldest region in transition.
|
void |
updateRitDuration(long duration) |
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 RIT_COUNT_NAME
static final String RIT_COUNT_OVER_THRESHOLD_NAME
static final String RIT_OLDEST_AGE_NAME
static final String RIT_DURATION_NAME
static final String RIT_COUNT_DESC
static final String RIT_COUNT_OVER_THRESHOLD_DESC
static final String RIT_OLDEST_AGE_DESC
static final String RIT_DURATION_DESC
static final String ASSIGN_METRIC_PREFIX
static final String UNASSIGN_METRIC_PREFIX
static final String SPLIT_METRIC_PREFIX
static final String MERGE_METRIC_PREFIX
static final String OPERATION_COUNT_NAME
void setRIT(int ritCount)
ritCount
- count of the regions in transition.void setRITCountOverThreshold(int ritCountOverThreshold)
ritCountOverThreshold
- number of regions in transition for longer than threshold.void setRITOldestAge(long age)
age
- age of the oldest RIT.void updateRitDuration(long duration)
void incrementOperationCounter()
OperationMetrics getAssignMetrics()
OperationMetrics
containing common metrics for assign operationOperationMetrics getUnassignMetrics()
OperationMetrics
containing common metrics for unassign operationOperationMetrics getSplitMetrics()
OperationMetrics
containing common metrics for split operationOperationMetrics getMergeMetrics()
OperationMetrics
containing common metrics for merge operationCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.