Class TestMetricsRegionSourceImpl.RegionWrapperStub
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestMetricsRegionSourceImpl.RegionWrapperStub
- All Implemented Interfaces:
org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
- Enclosing class:
- TestMetricsRegionSourceImpl
static class TestMetricsRegionSourceImpl.RegionWrapperStub
extends Object
implements org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
Field Summary
-
Constructor Summary
-
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
Always return 0 for testinglong
long
long
long
-
Field Details
-
regionName
-
-
Constructor Details
-
RegionWrapperStub
RegionWrapperStub(String regionName)
-
-
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
-
getLastMajorCompactionAge
- Specified by:
getLastMajorCompactionAge
in interfaceorg.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
-
getNumCompactionsCompleted
- Specified by:
getNumCompactionsCompleted
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
Always return 0 for testing- 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
-