Package mondrian.util
Class MemoryMonitorTest.TestMM
- java.lang.Object
-
- mondrian.util.AbstractMemoryMonitor
-
- mondrian.util.NotificationMemoryMonitor
-
- mondrian.util.MemoryMonitorTest.TestMM
-
- All Implemented Interfaces:
MemoryMonitor
,MemoryMonitor.Test
- Enclosing class:
- MemoryMonitorTest
public static class MemoryMonitorTest.TestMM extends NotificationMemoryMonitor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class mondrian.util.AbstractMemoryMonitor
AbstractMemoryMonitor.Entry
-
Nested classes/interfaces inherited from interface mondrian.util.MemoryMonitor
MemoryMonitor.Listener, MemoryMonitor.Test
-
-
Field Summary
-
Fields inherited from class mondrian.util.NotificationMemoryMonitor
TENURED_POOL
-
-
Constructor Summary
Constructors Constructor Description TestMM()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDefaultThresholdPercentage()
Returns the default memory notification percentage.-
Methods inherited from class mondrian.util.NotificationMemoryMonitor
getLogger, getMaxMemory, getUsedMemory, notifyNewLowThreshold
-
Methods inherited from class mondrian.util.AbstractMemoryMonitor
addListener, addListener, convertPercentageToThreshold, convertThresholdToPercentage, generateLowThreshold, getLowThreshold, notifyListeners, removeAllListener, removeListener, resetFromTest, updateListenerThreshold, usagePercentage
-
-
-
-
Method Detail
-
getDefaultThresholdPercentage
public int getDefaultThresholdPercentage()
Description copied from class:AbstractMemoryMonitor
Returns the default memory notification percentage.This is the value of the Mondrian
MondrianProperties.MemoryMonitorThreshold
property.- Overrides:
getDefaultThresholdPercentage
in classAbstractMemoryMonitor
- Returns:
- the default threshold percentage.
-
-