|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapperImpl
@InterfaceAudience.Private public class MetricsRegionWrapperImpl
Nested Class Summary | |
---|---|
class |
MetricsRegionWrapperImpl.HRegionMetricsWrapperRunnable
|
Field Summary | |
---|---|
static int |
PERIOD
|
static String |
UNKNOWN
|
Constructor Summary | |
---|---|
MetricsRegionWrapperImpl(HRegion region)
|
Method Summary | |
---|---|
void |
close()
|
Map<String,org.apache.commons.math.stat.descriptive.DescriptiveStatistics> |
getCoprocessorExecutionStatistics()
Get the time spent by coprocessors in this region. |
long |
getMemstoreSize()
Get the size of the memstore on this region server. |
String |
getNamespace()
Get the name of the namespace this table is in. |
long |
getNumBytesCompacted()
|
long |
getNumCompactionsCompleted()
|
long |
getNumFilesCompacted()
|
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
public static final String UNKNOWN
Constructor Detail |
---|
public MetricsRegionWrapperImpl(HRegion region)
Method Detail |
---|
public String getTableName()
MetricsRegionWrapper
getTableName
in interface MetricsRegionWrapper
public String getNamespace()
MetricsRegionWrapper
getNamespace
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 long getNumFilesCompacted()
getNumFilesCompacted
in interface MetricsRegionWrapper
public long getNumBytesCompacted()
getNumBytesCompacted
in interface MetricsRegionWrapper
public long getNumCompactionsCompleted()
getNumCompactionsCompleted
in interface MetricsRegionWrapper
public void close() throws IOException
close
in interface Closeable
IOException
public Map<String,org.apache.commons.math.stat.descriptive.DescriptiveStatistics> getCoprocessorExecutionStatistics()
MetricsRegionWrapper
getCoprocessorExecutionStatistics
in interface MetricsRegionWrapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |