static class TestMetricsRegionSourceImpl.RegionWrapperStub extends Object implements org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
Modifier and Type | Field and Description |
---|---|
private String |
regionName |
Constructor and Description |
---|
RegionWrapperStub(String regionName) |
Modifier and Type | Method and Description |
---|---|
long |
getAvgStoreFileAge() |
long |
getFilteredReadRequestCount() |
long |
getLastMajorCompactionAge() |
long |
getMaxCompactedStoreFileRefCount() |
long |
getMaxCompactionQueueSize() |
long |
getMaxFlushQueueSize() |
long |
getMaxStoreFileAge() |
Map<String,Long> |
getMemstoreOnlyRowReadsCount() |
long |
getMemStoreSize() |
long |
getMinStoreFileAge() |
Map<String,Long> |
getMixedRowReadsCount() |
String |
getNamespace() |
long |
getNumBytesCompacted() |
long |
getNumCompactionsCompleted() |
long |
getNumCompactionsFailed() |
long |
getNumCompactionsQueued() |
long |
getNumFilesCompacted() |
long |
getNumFlushesQueued() |
long |
getNumReferenceFiles() |
long |
getNumStoreFiles() |
long |
getNumStores() |
long |
getReadRequestCount() |
int |
getRegionHashCode() |
String |
getRegionName() |
int |
getReplicaId()
Always return 0 for testing
|
long |
getStoreFileSize() |
long |
getStoreRefCount() |
String |
getTableName() |
long |
getTotalRequestCount() |
long |
getWriteRequestCount() |
private String regionName
RegionWrapperStub(String regionName)
public String getTableName()
getTableName
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public String getNamespace()
getNamespace
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public String getRegionName()
getRegionName
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getNumStores()
getNumStores
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getNumStoreFiles()
getNumStoreFiles
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getStoreRefCount()
getStoreRefCount
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getMaxCompactedStoreFileRefCount()
getMaxCompactedStoreFileRefCount
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getMemStoreSize()
getMemStoreSize
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getStoreFileSize()
getStoreFileSize
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getReadRequestCount()
getReadRequestCount
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getFilteredReadRequestCount()
getFilteredReadRequestCount
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getMaxStoreFileAge()
getMaxStoreFileAge
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getMinStoreFileAge()
getMinStoreFileAge
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getAvgStoreFileAge()
getAvgStoreFileAge
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getNumReferenceFiles()
getNumReferenceFiles
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getWriteRequestCount()
getWriteRequestCount
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getNumFilesCompacted()
getNumFilesCompacted
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getNumBytesCompacted()
getNumBytesCompacted
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getLastMajorCompactionAge()
getLastMajorCompactionAge
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getNumCompactionsCompleted()
getNumCompactionsCompleted
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getNumCompactionsFailed()
getNumCompactionsFailed
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public int getRegionHashCode()
getRegionHashCode
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public int getReplicaId()
getReplicaId
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getNumCompactionsQueued()
getNumCompactionsQueued
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getNumFlushesQueued()
getNumFlushesQueued
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getMaxCompactionQueueSize()
getMaxCompactionQueueSize
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getMaxFlushQueueSize()
getMaxFlushQueueSize
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public long getTotalRequestCount()
getTotalRequestCount
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public Map<String,Long> getMemstoreOnlyRowReadsCount()
getMemstoreOnlyRowReadsCount
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
public Map<String,Long> getMixedRowReadsCount()
getMixedRowReadsCount
in interface org.apache.hadoop.hbase.regionserver.MetricsRegionWrapper
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.