mondrian.util
Class AbstractMemoryMonitor.Entry

java.lang.Object
  extended by mondrian.util.AbstractMemoryMonitor.Entry
Enclosing class:
AbstractMemoryMonitor

static class AbstractMemoryMonitor.Entry
extends Object

Class used to associate Listener and threshold.

 

Field Summary
(package private)  MemoryMonitor.Listener listener
           
(package private)  long threshold
           
 
Constructor Summary
AbstractMemoryMonitor.Entry(MemoryMonitor.Listener listener, long threshold)
          Creates an Entry.
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

final MemoryMonitor.Listener listener

threshold

long threshold
Constructor Detail

AbstractMemoryMonitor.Entry

AbstractMemoryMonitor.Entry(MemoryMonitor.Listener listener,
                            long threshold)
Creates an Entry.

Parameters:
listener - Listener
threshold - Threshold percentage which will cause notification
Method Detail

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

SourceForge.net_Logo