Class MemoryLeakDetector
java.lang.Object
host.anzo.commons.emergency.memory.MemoryLeakDetector
- All Implemented Interfaces:
IMetric,EventListener,NotificationListener
-
Method Summary
Modifier and TypeMethodDescriptionString @NotNull []getStats()voidhandleNotification(@NotNull Notification notification, Object handback) voidvoidregisterListener(IMemoryListener listener) void
-
Method Details
-
reportMemoryStats
public void reportMemoryStats() -
handleNotification
- Specified by:
handleNotificationin interfaceNotificationListener
-
registerListener
-
onMemoryLeakDetected
public void onMemoryLeakDetected() -
getStats
-
getMemoryUsageStatistics
-
getMetric
-