org.apache.hadoop.hbase.regionserver
Interface MetricsRegionAggregateSource

All Superinterfaces:
BaseSource

public interface MetricsRegionAggregateSource
extends BaseSource

This interface will be implemented by a MetricsSource that will export metrics from multiple regions into the hadoop metrics system.


Field Summary
static String METRICS_CONTEXT
          The name of the metrics context that 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
 
Fields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAME
 
Method Summary
 void deregister(MetricsRegionSource source)
          Remove a region's source.
 void register(MetricsRegionSource source)
          Register a MetricsRegionSource as being open.
 
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 name of the metrics context that metrics will be under.

See Also:
Constant Field Values

METRICS_DESCRIPTION

static final String METRICS_DESCRIPTION
Description

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
Method Detail

register

void register(MetricsRegionSource source)
Register a MetricsRegionSource as being open.

Parameters:
source - the source for the region being opened.

deregister

void deregister(MetricsRegionSource source)
Remove a region's source. This is called when a region is closed.

Parameters:
source - The region to remove.


Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.