public class MemoryManager extends Object implements HornetQComponent
This class will run a thread monitoring memory usage and log warnings in case we are low on memory.
| Constructor and Description |
|---|
MemoryManager(int memoryWarningThreshold,
long measureInterval) |
public MemoryManager(int memoryWarningThreshold,
long measureInterval)
public boolean isMemoryLow()
public boolean isStarted()
isStarted in interface HornetQComponentpublic void start()
start in interface HornetQComponentpublic void stop()
stop in interface HornetQComponentCopyright © 2013 JBoss, a division of Red Hat. All rights reserved.