private static class TestHeapMemoryManager.RegionServerAccountingStub extends org.apache.hadoop.hbase.regionserver.RegionServerAccounting
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
offheap |
private long |
testMemstoreSize |
Constructor and Description |
---|
RegionServerAccountingStub(org.apache.hadoop.conf.Configuration conf) |
RegionServerAccountingStub(org.apache.hadoop.conf.Configuration conf,
boolean offheap) |
Modifier and Type | Method and Description |
---|---|
long |
getGlobalMemStoreDataSize() |
long |
getGlobalMemStoreHeapSize() |
boolean |
isOffheap() |
void |
setTestMemstoreSize(long testMemstoreSize) |
decGlobalMemStoreSize, getFlushPressure, getGlobalMemStoreLimit, getGlobalMemStoreLimitLowMark, getGlobalMemStoreLimitLowMarkPercent, getGlobalMemStoreOffHeapSize, getGlobalOnHeapMemStoreLimit, incGlobalMemStoreSize, incGlobalMemStoreSize, isAboveHighWaterMark, isAboveLowWaterMark, setGlobalMemStoreLimits
boolean offheap
private long testMemstoreSize
public RegionServerAccountingStub(org.apache.hadoop.conf.Configuration conf)
public RegionServerAccountingStub(org.apache.hadoop.conf.Configuration conf, boolean offheap)
public long getGlobalMemStoreDataSize()
getGlobalMemStoreDataSize
in class org.apache.hadoop.hbase.regionserver.RegionServerAccounting
public long getGlobalMemStoreHeapSize()
getGlobalMemStoreHeapSize
in class org.apache.hadoop.hbase.regionserver.RegionServerAccounting
public boolean isOffheap()
isOffheap
in class org.apache.hadoop.hbase.regionserver.RegionServerAccounting
public void setTestMemstoreSize(long testMemstoreSize)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.