org.apache.hadoop.hbase.regionserver
Class HeapMemoryManager

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.HeapMemoryManager

@InterfaceAudience.Private
public class HeapMemoryManager
extends Object

Manages heap memory related tasks.


Field Summary
static int HBASE_RS_HEAP_MEMORY_TUNER_DEFAULT_PERIOD
           
static String HBASE_RS_HEAP_MEMORY_TUNER_PERIOD
           
 
Method Summary
static HeapMemoryManager create(Server server)
           
 float getHeapOccupancyPercent()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HBASE_RS_HEAP_MEMORY_TUNER_PERIOD

public static final String HBASE_RS_HEAP_MEMORY_TUNER_PERIOD
See Also:
Constant Field Values

HBASE_RS_HEAP_MEMORY_TUNER_DEFAULT_PERIOD

public static final int HBASE_RS_HEAP_MEMORY_TUNER_DEFAULT_PERIOD
See Also:
Constant Field Values
Method Detail

create

public static HeapMemoryManager create(Server server)

start

public void start()

stop

public void stop()

getHeapOccupancyPercent

public float getHeapOccupancyPercent()
Returns:
heap occupancy percentage, 0 <= n <= 1


Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.