|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapperImpl
public class MetricsRegionWrapperImpl
Nested Class Summary | |
---|---|
class |
MetricsRegionWrapperImpl.HRegionMetricsWrapperRunnable
|
Field Summary | |
---|---|
static int |
PERIOD
|
Constructor Summary | |
---|---|
MetricsRegionWrapperImpl(HRegion region)
|
Method Summary | |
---|---|
void |
close()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PERIOD
Constructor Detail |
---|
public MetricsRegionWrapperImpl(HRegion region)
Method Detail |
---|
public String getTableName()
MetricsRegionWrapper
getTableName
in interface MetricsRegionWrapper
public String getRegionName()
MetricsRegionWrapper
getRegionName
in interface MetricsRegionWrapper
public long getNumStores()
MetricsRegionWrapper
getNumStores
in interface MetricsRegionWrapper
public long getNumStoreFiles()
MetricsRegionWrapper
getNumStoreFiles
in interface MetricsRegionWrapper
public long getMemstoreSize()
MetricsRegionWrapper
getMemstoreSize
in interface MetricsRegionWrapper
public long getStoreFileSize()
MetricsRegionWrapper
getStoreFileSize
in interface MetricsRegionWrapper
public long getReadRequestCount()
MetricsRegionWrapper
getReadRequestCount
in interface MetricsRegionWrapper
public long getWriteRequestCount()
MetricsRegionWrapper
getWriteRequestCount
in interface MetricsRegionWrapper
public void close() throws IOException
close
in interface Closeable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |