public class MemoryManager extends Object implements ActiveMQComponent
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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMemoryLow() |
boolean |
isStarted() |
void |
start() |
void |
stop() |
public MemoryManager(int memoryWarningThreshold,
long measureInterval)
public boolean isMemoryLow()
public boolean isStarted()
isStarted in interface ActiveMQComponentpublic void start()
start in interface ActiveMQComponentpublic void stop()
stop in interface ActiveMQComponentCopyright © 2018 JBoss by Red Hat. All rights reserved.