Package org.teiid.common.buffer
Class AutoCleanupUtil
- java.lang.Object
-
- org.teiid.common.buffer.AutoCleanupUtil
-
public class AutoCleanupUtil extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AutoCleanupUtil.Removable
-
Constructor Summary
Constructors Constructor Description AutoCleanupUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
doCleanup(boolean quick)
static void
removeCleanupReference(PhantomReference<Object> ref)
static PhantomReference<Object>
setCleanupReference(Object o, AutoCleanupUtil.Removable r)
-
-
-
Method Detail
-
setCleanupReference
public static PhantomReference<Object> setCleanupReference(Object o, AutoCleanupUtil.Removable r)
-
removeCleanupReference
public static void removeCleanupReference(PhantomReference<Object> ref)
-
doCleanup
public static void doCleanup(boolean quick)
-
-