Package org.drools.core.util
Class MemoryUtil.MBeanMemoryStats
- java.lang.Object
-
- org.drools.core.util.MemoryUtil.MBeanMemoryStats
-
- All Implemented Interfaces:
MemoryUtil.MemoryStats
- Enclosing class:
- MemoryUtil
public static class MemoryUtil.MBeanMemoryStats extends Object implements MemoryUtil.MemoryStats
-
-
Constructor Summary
Constructors Constructor Description MBeanMemoryStats(MemoryPoolMXBean memoryBean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isUsageThresholdExceeded(int threshold)
-
-
-
Constructor Detail
-
MBeanMemoryStats
public MBeanMemoryStats(MemoryPoolMXBean memoryBean)
-
-
Method Detail
-
isUsageThresholdExceeded
public boolean isUsageThresholdExceeded(int threshold)
- Specified by:
isUsageThresholdExceeded
in interfaceMemoryUtil.MemoryStats
-
-