org.apache.hadoop.hbase.regionserver
Interface MetricsRegionWrapper

All Known Implementing Classes:
MetricsRegionWrapperImpl

public interface MetricsRegionWrapper

Interface of class that will wrap an HRegion and export numbers so they can be used in MetricsRegionSource


Method Summary
 long getMemstoreSize()
          Get the size of the memstore on this region server.
 long getNumStoreFiles()
          Get the number of store files hosted on this region server.
 long getNumStores()
          Get the number of stores hosted on this region server.
 long getReadRequestCount()
          Get the total number of read requests that have been issued against this region
 String getRegionName()
          Get the name of the region.
 long getStoreFileSize()
          Get the total size of the store files this region server is serving from.
 String getTableName()
          Get the name of the table the region belongs to.
 long getWriteRequestCount()
          Get the total number of mutations that have been issued against this region.
 

Method Detail

getTableName

String getTableName()
Get the name of the table the region belongs to.

Returns:
The string version of the table name.

getRegionName

String getRegionName()
Get the name of the region.

Returns:
The encoded name of the region.

getNumStores

long getNumStores()
Get the number of stores hosted on this region server.


getNumStoreFiles

long getNumStoreFiles()
Get the number of store files hosted on this region server.


getMemstoreSize

long getMemstoreSize()
Get the size of the memstore on this region server.


getStoreFileSize

long getStoreFileSize()
Get the total size of the store files this region server is serving from.


getReadRequestCount

long getReadRequestCount()
Get the total number of read requests that have been issued against this region


getWriteRequestCount

long getWriteRequestCount()
Get the total number of mutations that have been issued against this region.



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