@InterfaceAudience.Private public class HeapMemoryManager extends Object
HeapMemoryTuner
.Modifier and Type | Class and Description |
---|---|
static class |
HeapMemoryManager.TunerContext
POJO to pass all the relevant information required to do the heap memory tuning.
|
static class |
HeapMemoryManager.TunerResult
POJO which holds the result of memory tuning done by HeapMemoryTuner implementation.
|
Modifier and Type | Field and Description |
---|---|
static String |
BLOCK_CACHE_SIZE_MAX_RANGE_KEY |
static String |
BLOCK_CACHE_SIZE_MIN_RANGE_KEY |
static String |
HBASE_RS_HEAP_MEMORY_TUNER_CLASS |
static int |
HBASE_RS_HEAP_MEMORY_TUNER_DEFAULT_PERIOD |
static String |
HBASE_RS_HEAP_MEMORY_TUNER_PERIOD |
static float |
HEAP_OCCUPANCY_ERROR_VALUE |
static String |
MEMSTORE_SIZE_MAX_RANGE_KEY |
static String |
MEMSTORE_SIZE_MIN_RANGE_KEY |
Modifier and Type | Method and Description |
---|---|
static HeapMemoryManager |
create(org.apache.hadoop.conf.Configuration conf,
FlushRequester memStoreFlusher,
Server server,
RegionServerAccounting regionServerAccounting) |
float |
getHeapOccupancyPercent() |
void |
start(ChoreService service) |
void |
stop() |
public static final String BLOCK_CACHE_SIZE_MAX_RANGE_KEY
public static final String BLOCK_CACHE_SIZE_MIN_RANGE_KEY
public static final String MEMSTORE_SIZE_MAX_RANGE_KEY
public static final String MEMSTORE_SIZE_MIN_RANGE_KEY
public static final String HBASE_RS_HEAP_MEMORY_TUNER_PERIOD
public static final int HBASE_RS_HEAP_MEMORY_TUNER_DEFAULT_PERIOD
public static final String HBASE_RS_HEAP_MEMORY_TUNER_CLASS
public static final float HEAP_OCCUPANCY_ERROR_VALUE
public static HeapMemoryManager create(org.apache.hadoop.conf.Configuration conf, FlushRequester memStoreFlusher, Server server, RegionServerAccounting regionServerAccounting)
public void start(ChoreService service)
public void stop()
public float getHeapOccupancyPercent()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.