public class MetricsRegionWrapperStub extends Object implements MetricsRegionWrapper
| Constructor and Description |
|---|
MetricsRegionWrapperStub()
Replica ID set to 0
|
MetricsRegionWrapperStub(int replicaid)
Pass in replica ID
|
| Modifier and Type | Method and Description |
|---|---|
long |
getAvgStoreFileAge() |
long |
getMaxStoreFileAge() |
long |
getMemstoreSize()
Get the size of the memstore on this region server.
|
long |
getMinStoreFileAge() |
String |
getNamespace()
Get the name of the namespace this table is in.
|
long |
getNumBytesCompacted() |
long |
getNumCompactionsCompleted() |
long |
getNumFilesCompacted() |
long |
getNumReferenceFiles() |
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
|
int |
getRegionHashCode() |
String |
getRegionName()
Get the name of the region.
|
int |
getReplicaId()
Get the replica id of this 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 |
getTotalRequestCount()
Get the total number of requests that have been issued against this region.
|
long |
getWriteRequestCount()
Get the total number of mutations that have been issued against this region.
|
public MetricsRegionWrapperStub()
public MetricsRegionWrapperStub(int replicaid)
public String getTableName()
MetricsRegionWrappergetTableName in interface MetricsRegionWrapperpublic String getNamespace()
MetricsRegionWrappergetNamespace in interface MetricsRegionWrapperpublic String getRegionName()
MetricsRegionWrappergetRegionName in interface MetricsRegionWrapperpublic long getNumStores()
MetricsRegionWrappergetNumStores in interface MetricsRegionWrapperpublic long getNumStoreFiles()
MetricsRegionWrappergetNumStoreFiles in interface MetricsRegionWrapperpublic long getMemstoreSize()
MetricsRegionWrappergetMemstoreSize in interface MetricsRegionWrapperpublic long getStoreFileSize()
MetricsRegionWrappergetStoreFileSize in interface MetricsRegionWrapperpublic long getReadRequestCount()
MetricsRegionWrappergetReadRequestCount in interface MetricsRegionWrapperpublic long getMaxStoreFileAge()
getMaxStoreFileAge in interface MetricsRegionWrapperpublic long getMinStoreFileAge()
getMinStoreFileAge in interface MetricsRegionWrapperpublic long getAvgStoreFileAge()
getAvgStoreFileAge in interface MetricsRegionWrapperpublic long getNumReferenceFiles()
getNumReferenceFiles in interface MetricsRegionWrapperpublic long getWriteRequestCount()
MetricsRegionWrappergetWriteRequestCount in interface MetricsRegionWrapperpublic long getNumFilesCompacted()
getNumFilesCompacted in interface MetricsRegionWrapperpublic long getNumBytesCompacted()
getNumBytesCompacted in interface MetricsRegionWrapperpublic long getNumCompactionsCompleted()
getNumCompactionsCompleted in interface MetricsRegionWrapperpublic int getRegionHashCode()
getRegionHashCode in interface MetricsRegionWrapperpublic int getReplicaId()
getReplicaId in interface MetricsRegionWrapperpublic long getTotalRequestCount()
MetricsRegionWrappergetTotalRequestCount in interface MetricsRegionWrapper