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 |
getMaxCompactionQueueSize() |
long |
getMaxFlushQueueSize() |
long |
getMaxStoreFileAge() |
long |
getMemStoreSize() |
long |
getMinStoreFileAge() |
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() |
String |
getTableName() |
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 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
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.