|
||||||||||
| 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 MetricsRegionWrapperpublic String getRegionName()
MetricsRegionWrapper
getRegionName in interface MetricsRegionWrapperpublic long getNumStores()
MetricsRegionWrapper
getNumStores in interface MetricsRegionWrapperpublic long getNumStoreFiles()
MetricsRegionWrapper
getNumStoreFiles in interface MetricsRegionWrapperpublic long getMemstoreSize()
MetricsRegionWrapper
getMemstoreSize in interface MetricsRegionWrapperpublic long getStoreFileSize()
MetricsRegionWrapper
getStoreFileSize in interface MetricsRegionWrapperpublic long getReadRequestCount()
MetricsRegionWrapper
getReadRequestCount in interface MetricsRegionWrapperpublic long getWriteRequestCount()
MetricsRegionWrapper
getWriteRequestCount in interface MetricsRegionWrapper
public void close()
throws IOException
close in interface CloseableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||