org.apache.hadoop.hbase.regionserver
Interface MetricsRegionSource

All Superinterfaces:
Comparable<MetricsRegionSource>
All Known Implementing Classes:
MetricsRegionSourceImpl

public interface MetricsRegionSource
extends Comparable<MetricsRegionSource>

This interface will be implemented to allow single regions to push metrics into MetricsRegionAggregateSource that will in turn push data to the Hadoop metrics system.


Method Summary
 void close()
          Close the region's metrics as this region is closing.
 MetricsRegionAggregateSource getAggregateSource()
          Get the aggregate source to which this reports.
 void updateAppend()
          Update related counts of appends.
 void updateDelete()
          Update related counts of deletes.
 void updateGet()
          Update related counts of gets.
 void updateIncrement()
          Update related counts of increments.
 void updatePut()
          Update related counts of puts.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

close

void close()
Close the region's metrics as this region is closing.


updatePut

void updatePut()
Update related counts of puts.


updateDelete

void updateDelete()
Update related counts of deletes.


updateGet

void updateGet()
Update related counts of gets.


updateIncrement

void updateIncrement()
Update related counts of increments.


updateAppend

void updateAppend()
Update related counts of appends.


getAggregateSource

MetricsRegionAggregateSource getAggregateSource()
Get the aggregate source to which this reports.



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.