@InterfaceAudience.Private public class MetricsRegionWrapperImpl extends Object implements MetricsRegionWrapper, Closeable
Modifier and Type | Class and Description |
---|---|
class |
MetricsRegionWrapperImpl.HRegionMetricsWrapperRunnable |
Modifier and Type | Field and Description |
---|---|
static int |
PERIOD |
static String |
UNKNOWN |
Constructor and Description |
---|
MetricsRegionWrapperImpl(HRegion region) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
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()
Get the replica id of this region.
|
long |
getStoreFileSize() |
String |
getTableName() |
long |
getTotalRequestCount() |
long |
getWriteRequestCount() |
public static final int PERIOD
public static final String UNKNOWN
public MetricsRegionWrapperImpl(HRegion region)
public String getTableName()
getTableName
in interface MetricsRegionWrapper
public String getNamespace()
getNamespace
in interface MetricsRegionWrapper
public String getRegionName()
getRegionName
in interface MetricsRegionWrapper
public long getNumStores()
getNumStores
in interface MetricsRegionWrapper
public long getNumStoreFiles()
getNumStoreFiles
in interface MetricsRegionWrapper
public long getMemStoreSize()
getMemStoreSize
in interface MetricsRegionWrapper
public long getStoreFileSize()
getStoreFileSize
in interface MetricsRegionWrapper
public long getReadRequestCount()
getReadRequestCount
in interface MetricsRegionWrapper
public long getFilteredReadRequestCount()
getFilteredReadRequestCount
in interface MetricsRegionWrapper
public long getWriteRequestCount()
getWriteRequestCount
in interface MetricsRegionWrapper
public long getNumFilesCompacted()
getNumFilesCompacted
in interface MetricsRegionWrapper
public long getNumBytesCompacted()
getNumBytesCompacted
in interface MetricsRegionWrapper
public long getNumCompactionsCompleted()
getNumCompactionsCompleted
in interface MetricsRegionWrapper
public long getLastMajorCompactionAge()
getLastMajorCompactionAge
in interface MetricsRegionWrapper
public long getTotalRequestCount()
getTotalRequestCount
in interface MetricsRegionWrapper
public long getNumCompactionsFailed()
getNumCompactionsFailed
in interface MetricsRegionWrapper
public long getNumCompactionsQueued()
getNumCompactionsQueued
in interface MetricsRegionWrapper
public long getNumFlushesQueued()
getNumFlushesQueued
in interface MetricsRegionWrapper
public long getMaxCompactionQueueSize()
getMaxCompactionQueueSize
in interface MetricsRegionWrapper
public long getMaxFlushQueueSize()
getMaxFlushQueueSize
in interface MetricsRegionWrapper
public long getMaxStoreFileAge()
getMaxStoreFileAge
in interface MetricsRegionWrapper
public long getMinStoreFileAge()
getMinStoreFileAge
in interface MetricsRegionWrapper
public long getAvgStoreFileAge()
getAvgStoreFileAge
in interface MetricsRegionWrapper
public long getNumReferenceFiles()
getNumReferenceFiles
in interface MetricsRegionWrapper
public int getRegionHashCode()
getRegionHashCode
in interface MetricsRegionWrapper
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public int getReplicaId()
getReplicaId
in interface MetricsRegionWrapper
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.