Package org.codehaus.groovy.util
Class ReferenceManager
java.lang.Object
org.codehaus.groovy.util.ReferenceManager
public class ReferenceManager extends Object
-
Constructor Summary
Constructors Constructor Description ReferenceManager(ReferenceQueue queue)
-
Method Summary
Modifier and Type Method Description void
afterReferenceCreation(Reference r)
static ReferenceManager
createCallBackedManager(ReferenceQueue queue)
static ReferenceManager
createIdlingManager(ReferenceQueue queue)
static ReferenceManager
createThreadedManager(ReferenceQueue queue)
static ReferenceManager
createThresholdedIdlingManager(ReferenceQueue queue, ReferenceManager callback, int threshold)
static ReferenceBundle
getDefaultSoftBundle()
Deprecated.static ReferenceBundle
getDefaultWeakBundle()
Deprecated.protected ReferenceQueue
getReferenceQueue()
void
removeStallEntries()
void
stopThread()
String
toString()
-
Constructor Details
-
ReferenceManager
-
-
Method Details
-
createThreadedManager
-
createIdlingManager
-
createCallBackedManager
-
createThresholdedIdlingManager
public static ReferenceManager createThresholdedIdlingManager(ReferenceQueue queue, ReferenceManager callback, int threshold) -
getReferenceQueue
-
afterReferenceCreation
-
removeStallEntries
public void removeStallEntries() -
stopThread
public void stopThread() -
toString
-
getDefaultSoftBundle
Deprecated. -
getDefaultWeakBundle
Deprecated.
-
ReferenceBundle.getSoftBundle()