Package mondrian.util

Class AbstractMemoryMonitor.Entry

  • Enclosing class:
    AbstractMemoryMonitor

    static class AbstractMemoryMonitor.Entry
    extends java.lang.Object
    Class used to associate Listener and threshold.
    • Constructor Detail

      • Entry

        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​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object