Interface MemoryUsageAndHistoryMonitor.MemoryChangeListener
- All Known Implementing Classes:
MemoryUsageAndHistoryMonitor.History
,MemoryUsageAndHistoryMonitor.Usage
- Enclosing class:
- MemoryUsageAndHistoryMonitor
public static interface MemoryUsageAndHistoryMonitor.MemoryChangeListener
This interface allows the RepaintThread to notify an object that the
current memory state has changed.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-