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.
Version:
$Id: MemoryMonitor.java 1831635 2018-05-15 13:33:47Z ssteiner $
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    memoryStateChanged(long total, long free)
    Indicates that the memory state has changed.
  • Method Details

    • 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.