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 java.lang.Object implements MemoryUtil.MemoryStats
-
-
Constructor Summary
Constructors Constructor Description MBeanMemoryStats(java.lang.management.MemoryPoolMXBean memoryBean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isUsageThresholdExceeded(int threshold)
-
-
-
Method Detail
-
isUsageThresholdExceeded
public boolean isUsageThresholdExceeded(int threshold)
- Specified by:
isUsageThresholdExceeded
in interfaceMemoryUtil.MemoryStats
-
-