@InterfaceAudience.Private public class RegionServerAccounting extends Object
| Constructor and Description |
|---|
RegionServerAccounting(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
decGlobalMemStoreSize(long dataSizeDelta,
long heapSizeDelta,
long offHeapSizeDelta) |
double |
getFlushPressure() |
long |
getGlobalMemStoreDataSize()
Returns the global Memstore data size in the RegionServer
|
long |
getGlobalMemStoreHeapSize()
Returns the global memstore heap size in the RegionServer
|
long |
getGlobalMemStoreOffHeapSize()
Returns the global memstore heap size in the RegionServer
|
protected ConcurrentMap<String,Pair<Long,Long>> |
getRetainedRegionRWRequestsCnt()
Returns the retained metrics of region's read and write requests count
|
void |
incGlobalMemStoreSize(long dataSizeDelta,
long heapSizeDelta,
long offHeapSizeDelta) |
org.apache.hadoop.hbase.regionserver.FlushType |
isAboveHighWaterMark()
Return the FlushType if we are above the memstore high water mark
|
org.apache.hadoop.hbase.regionserver.FlushType |
isAboveLowWaterMark()
Return the FlushType if we're above the low watermark
|
public RegionServerAccounting(org.apache.hadoop.conf.Configuration conf)
public long getGlobalMemStoreDataSize()
public long getGlobalMemStoreHeapSize()
public long getGlobalMemStoreOffHeapSize()
protected ConcurrentMap<String,Pair<Long,Long>> getRetainedRegionRWRequestsCnt()
public void incGlobalMemStoreSize(long dataSizeDelta,
long heapSizeDelta,
long offHeapSizeDelta)
public void decGlobalMemStoreSize(long dataSizeDelta,
long heapSizeDelta,
long offHeapSizeDelta)
public org.apache.hadoop.hbase.regionserver.FlushType isAboveHighWaterMark()
public org.apache.hadoop.hbase.regionserver.FlushType isAboveLowWaterMark()
public double getFlushPressure()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.