public interface MetricsAssignmentManagerSource extends BaseSource
Modifier and Type | Field and Description |
---|---|
static String |
ASSIGN_TIME_NAME |
static String |
BULK_ASSIGN_TIME_NAME |
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 |
RIT_COUNT_NAME |
static String |
RIT_COUNT_OVER_THRESHOLD_NAME |
static String |
RIT_DURATION_NAME |
static String |
RIT_OLDEST_AGE_NAME |
HBASE_METRICS_SYSTEM_NAME
Modifier and Type | Method and Description |
---|---|
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 |
updateAssignmentTime(long time) |
void |
updateBulkAssignTime(long time) |
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 ASSIGN_TIME_NAME
static final String BULK_ASSIGN_TIME_NAME
void updateAssignmentTime(long time)
void updateBulkAssignTime(long time)
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)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.