org.apache.hadoop.hbase.regionserver
Class MetricsRegionWrapperImpl
java.lang.Object
org.apache.hadoop.hbase.regionserver.MetricsRegionWrapperImpl
- All Implemented Interfaces:
- Closeable, MetricsRegionWrapper
public class MetricsRegionWrapperImpl
- extends Object
- implements MetricsRegionWrapper, Closeable
Field Summary |
static int |
PERIOD
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PERIOD
public static final int PERIOD
- See Also:
- Constant Field Values
MetricsRegionWrapperImpl
public MetricsRegionWrapperImpl(HRegion region)
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.