org.apache.hadoop.hbase.regionserver
Class MetricsRegionWrapperImpl

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.MetricsRegionWrapperImpl
All Implemented Interfaces:
Closeable, MetricsRegionWrapper

public class MetricsRegionWrapperImpl
extends Object
implements MetricsRegionWrapper, Closeable


Nested Class Summary
 class MetricsRegionWrapperImpl.HRegionMetricsWrapperRunnable
           
 
Field Summary
static int PERIOD
           
 
Constructor Summary
MetricsRegionWrapperImpl(HRegion region)
           
 
Method Summary
 void close()
           
 long getMemstoreSize()
           
 long getNumStoreFiles()
           
 long getNumStores()
           
 long getReadRequestCount()
           
 String getRegionName()
           
 long getStoreFileSize()
           
 String getTableName()
           
 long getWriteRequestCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERIOD

public static final int PERIOD
See Also:
Constant Field Values
Constructor Detail

MetricsRegionWrapperImpl

public MetricsRegionWrapperImpl(HRegion region)
Method Detail

getTableName

public String getTableName()
Specified by:
getTableName in interface MetricsRegionWrapper

getRegionName

public String getRegionName()
Specified by:
getRegionName in interface MetricsRegionWrapper

getNumStores

public long getNumStores()
Specified by:
getNumStores in interface MetricsRegionWrapper

getNumStoreFiles

public long getNumStoreFiles()
Specified by:
getNumStoreFiles in interface MetricsRegionWrapper

getMemstoreSize

public long getMemstoreSize()
Specified by:
getMemstoreSize in interface MetricsRegionWrapper

getStoreFileSize

public long getStoreFileSize()
Specified by:
getStoreFileSize in interface MetricsRegionWrapper

getReadRequestCount

public long getReadRequestCount()
Specified by:
getReadRequestCount in interface MetricsRegionWrapper

getWriteRequestCount

public long getWriteRequestCount()
Specified by:
getWriteRequestCount in interface MetricsRegionWrapper

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException


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