@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() |
long |
getGlobalMemStoreHeapSize() |
long |
getGlobalMemStoreOffHeapSize() |
void |
incGlobalMemStoreSize(long dataSizeDelta,
long heapSizeDelta,
long offHeapSizeDelta) |
org.apache.hadoop.hbase.regionserver.FlushType |
isAboveHighWaterMark()
Return true if we are above the memstore high water mark
|
org.apache.hadoop.hbase.regionserver.FlushType |
isAboveLowWaterMark()
Return true if we're above the low watermark
|
public RegionServerAccounting(org.apache.hadoop.conf.Configuration conf)
public long getGlobalMemStoreDataSize()
public long getGlobalMemStoreHeapSize()
public long getGlobalMemStoreOffHeapSize()
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–2019 Cloudera. All rights reserved.