@InterfaceAudience.Private public interface MetricsAssignmentManagerSource extends BaseSource
Modifier and Type | Field and Description |
---|---|
static String |
ASSIGN_METRIC_PREFIX |
static String |
CLOSE_METRIC_PREFIX |
static String |
DEAD_SERVER_OPEN_REGIONS |
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 |
MOVE_METRIC_PREFIX |
static String |
OPEN_METRIC_PREFIX |
static String |
OPERATION_COUNT_NAME |
static String |
REOPEN_METRIC_PREFIX |
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 |
static String |
UNKNOWN_SERVER_OPEN_REGIONS |
HBASE_METRICS_SYSTEM_NAME
Modifier and Type | Method and Description |
---|---|
OperationMetrics |
getAssignMetrics() |
OperationMetrics |
getCloseMetrics() |
OperationMetrics |
getMergeMetrics() |
OperationMetrics |
getMoveMetrics() |
OperationMetrics |
getOpenMetrics() |
OperationMetrics |
getReopenMetrics() |
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 |
updateDeadServerOpenRegions(int deadRegions) |
void |
updateRitDuration(long duration) |
void |
updateUnknownServerOpenRegions(int unknownRegions) |
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 DEAD_SERVER_OPEN_REGIONS
static final String UNKNOWN_SERVER_OPEN_REGIONS
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 MOVE_METRIC_PREFIX
static final String REOPEN_METRIC_PREFIX
static final String OPEN_METRIC_PREFIX
static final String CLOSE_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 updateDeadServerOpenRegions(int deadRegions)
void updateUnknownServerOpenRegions(int unknownRegions)
void incrementOperationCounter()
OperationMetrics getAssignMetrics()
OperationMetrics
containing common metrics for assign region operationOperationMetrics getUnassignMetrics()
OperationMetrics
containing common metrics for unassign region operationOperationMetrics getMoveMetrics()
OperationMetrics
containing common metrics for move region operationOperationMetrics getReopenMetrics()
OperationMetrics
containing common metrics for reopen region operationOperationMetrics getOpenMetrics()
OperationMetrics
containing common metrics for open region requestOperationMetrics getCloseMetrics()
OperationMetrics
containing common metrics for close region requestOperationMetrics getSplitMetrics()
OperationMetrics
containing common metrics for split operationOperationMetrics getMergeMetrics()
OperationMetrics
containing common metrics for merge operationCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.