org.apache.hadoop.hbase.master
Interface MetricsAssignmentManagerSource

All Superinterfaces:
BaseSource
All Known Implementing Classes:
MetricsAssignmentManagerSourceImpl

public interface MetricsAssignmentManagerSource
extends BaseSource


Field Summary
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_OLDEST_AGE_NAME
           
 
Fields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAME
 
Method Summary
 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)
           
 
Methods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantile
 

Field Detail

METRICS_NAME

static final String METRICS_NAME
The name of the metrics

See Also:
Constant Field Values

METRICS_CONTEXT

static final String METRICS_CONTEXT
The context metrics will be under.

See Also:
Constant Field Values

METRICS_JMX_CONTEXT

static final String METRICS_JMX_CONTEXT
The name of the metrics context that metrics will be under in jmx

See Also:
Constant Field Values

METRICS_DESCRIPTION

static final String METRICS_DESCRIPTION
Description

See Also:
Constant Field Values

RIT_COUNT_NAME

static final String RIT_COUNT_NAME
See Also:
Constant Field Values

RIT_COUNT_OVER_THRESHOLD_NAME

static final String RIT_COUNT_OVER_THRESHOLD_NAME
See Also:
Constant Field Values

RIT_OLDEST_AGE_NAME

static final String RIT_OLDEST_AGE_NAME
See Also:
Constant Field Values

ASSIGN_TIME_NAME

static final String ASSIGN_TIME_NAME
See Also:
Constant Field Values

BULK_ASSIGN_TIME_NAME

static final String BULK_ASSIGN_TIME_NAME
See Also:
Constant Field Values
Method Detail

updateAssignmentTime

void updateAssignmentTime(long time)

updateBulkAssignTime

void updateBulkAssignTime(long time)

setRIT

void setRIT(int ritCount)
Set the number of regions in transition.

Parameters:
ritCount - count of the regions in transition.

setRITCountOverThreshold

void setRITCountOverThreshold(int ritCountOverThreshold)
Set the count of the number of regions that have been in transition over the threshold time.

Parameters:
ritCountOverThreshold - number of regions in transition for longer than threshold.

setRITOldestAge

void setRITOldestAge(long age)
Set the oldest region in transition.

Parameters:
age - age of the oldest RIT.


Copyright © 2015 The Apache Software Foundation. All rights reserved.