Class MetricsRegionWrapperStub
java.lang.Object
org.apache.hadoop.hbase.regionserver.MetricsRegionWrapperStub
- All Implemented Interfaces:
org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public class MetricsRegionWrapperStub
extends Object
implements org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
Field Summary
-
Constructor Summary
ConstructorDescriptionReplica ID set to 0MetricsRegionWrapperStub
(int replicaid) Pass in replica ID -
Method Summary
Modifier and TypeMethodDescriptionlong
long
float
long
long
long
long
long
long
long
long
long
long
long
long
long
long
long
long
long
long
int
int
Get the replica id of this region.long
long
long
long
-
Field Details
-
replicaid
int replicaid
-
-
Constructor Details
-
MetricsRegionWrapperStub
public MetricsRegionWrapperStub()Replica ID set to 0 -
MetricsRegionWrapperStub
Pass in replica ID
-
-
Method Details
-
getTableName
- Specified by:
getTableName
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getNamespace
- Specified by:
getNamespace
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getRegionName
- Specified by:
getRegionName
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getNumStores
- Specified by:
getNumStores
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getNumStoreFiles
- Specified by:
getNumStoreFiles
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getStoreRefCount
- Specified by:
getStoreRefCount
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getMaxCompactedStoreFileRefCount
- Specified by:
getMaxCompactedStoreFileRefCount
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getMemStoreSize
- Specified by:
getMemStoreSize
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getStoreFileSize
- Specified by:
getStoreFileSize
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getCurrentRegionCacheRatio
- Specified by:
getCurrentRegionCacheRatio
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getReadRequestCount
- Specified by:
getReadRequestCount
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getFilteredReadRequestCount
- Specified by:
getFilteredReadRequestCount
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getMaxStoreFileAge
- Specified by:
getMaxStoreFileAge
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getMinStoreFileAge
- Specified by:
getMinStoreFileAge
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getAvgStoreFileAge
- Specified by:
getAvgStoreFileAge
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getNumReferenceFiles
- Specified by:
getNumReferenceFiles
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getCpRequestCount
- Specified by:
getCpRequestCount
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getWriteRequestCount
- Specified by:
getWriteRequestCount
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getNumFilesCompacted
- Specified by:
getNumFilesCompacted
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getNumBytesCompacted
- Specified by:
getNumBytesCompacted
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getNumCompactionsCompleted
- Specified by:
getNumCompactionsCompleted
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getLastMajorCompactionAge
- Specified by:
getLastMajorCompactionAge
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getNumCompactionsFailed
- Specified by:
getNumCompactionsFailed
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getRegionHashCode
- Specified by:
getRegionHashCode
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getReplicaId
Get the replica id of this region.- Specified by:
getReplicaId
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getNumCompactionsQueued
- Specified by:
getNumCompactionsQueued
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getNumFlushesQueued
- Specified by:
getNumFlushesQueued
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getMaxCompactionQueueSize
- Specified by:
getMaxCompactionQueueSize
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getMaxFlushQueueSize
- Specified by:
getMaxFlushQueueSize
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getTotalRequestCount
- Specified by:
getTotalRequestCount
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getMemstoreOnlyRowReadsCount
- Specified by:
getMemstoreOnlyRowReadsCount
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getMixedRowReadsCount
- Specified by:
getMixedRowReadsCount
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-