Interface MemoryMonitor.MemoryChangeListener

  • All Known Implementing Classes:
    MemoryMonitor.History, MemoryMonitor.Usage
    Enclosing class:
    MemoryMonitor

    public static interface MemoryMonitor.MemoryChangeListener
    This interface allows the RepaintThread to notify an object that the current memory state has changed.
    • Method Detail

      • memoryStateChanged

        void memoryStateChanged​(long total,
                                long free)
        Indicates that the memory state has changed.
        Parameters:
        total - The total amount of memory.
        free - The free memory.