Module fr.brouillard.oss.cssfx
Class CleanupDetector
- java.lang.Object
-
- fr.brouillard.oss.cssfx.impl.monitoring.CleanupDetector
-
public class CleanupDetector extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCleanupDetector.WeakReferenceWithRunnableThis class can be extended to provide more meta information to the method onCleanup.
-
Constructor Summary
Constructors Constructor Description CleanupDetector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidonCleanup(CleanupDetector.WeakReferenceWithRunnable weakref)This version of the method can be used to provide more information in the heap dump by extending WeakReferenceWithRunnable.static voidonCleanup(Object obj, Runnable r)The runnable gets executed after the object has been collected by the GC.
-
-
-
Method Detail
-
onCleanup
public static void onCleanup(Object obj, Runnable r)
The runnable gets executed after the object has been collected by the GC.
-
onCleanup
public static void onCleanup(CleanupDetector.WeakReferenceWithRunnable weakref)
This version of the method can be used to provide more information in the heap dump by extending WeakReferenceWithRunnable.
-
-