Package mondrian.util
Class AbstractMemoryMonitor.Entry
- java.lang.Object
-
- mondrian.util.AbstractMemoryMonitor.Entry
-
- Enclosing class:
- AbstractMemoryMonitor
static class AbstractMemoryMonitor.Entry extends java.lang.Object
Class used to associateListener
and threshold.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) MemoryMonitor.Listener
listener
(package private) long
threshold
-
Constructor Summary
Constructors Constructor Description Entry(MemoryMonitor.Listener listener, long threshold)
Creates an Entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
-
-
-
Field Detail
-
listener
final MemoryMonitor.Listener listener
-
threshold
long threshold
-
-
Constructor Detail
-
Entry
Entry(MemoryMonitor.Listener listener, long threshold)
Creates an Entry.- Parameters:
listener
- Listenerthreshold
- Threshold percentage which will cause notification
-
-