mondrian.util
Class AbstractMemoryMonitor.Entry
java.lang.Object
mondrian.util.AbstractMemoryMonitor.Entry
- Enclosing class:
- AbstractMemoryMonitor
static class AbstractMemoryMonitor.Entry
- extends Object
Class used to associate Listener
and threshold.
-
-
listener
final MemoryMonitor.Listener listener
threshold
long threshold
AbstractMemoryMonitor.Entry
AbstractMemoryMonitor.Entry(MemoryMonitor.Listener listener,
long threshold)
- Creates an Entry.
- Parameters:
listener
- Listenerthreshold
- Threshold percentage which will cause notification
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object