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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 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 Detail
-
ReferenceManager
public ReferenceManager(ReferenceQueue queue)
-
-
Method Detail
-
createThreadedManager
public static ReferenceManager createThreadedManager(ReferenceQueue queue)
-
createIdlingManager
public static ReferenceManager createIdlingManager(ReferenceQueue queue)
-
createCallBackedManager
public static ReferenceManager createCallBackedManager(ReferenceQueue queue)
-
createThresholdedIdlingManager
public static ReferenceManager createThresholdedIdlingManager(ReferenceQueue queue, ReferenceManager callback, int threshold)
-
getReferenceQueue
protected ReferenceQueue getReferenceQueue()
-
afterReferenceCreation
public void afterReferenceCreation(Reference r)
-
removeStallEntries
public void removeStallEntries()
-
stopThread
public void stopThread()
-
getDefaultSoftBundle
@Deprecated public static ReferenceBundle getDefaultSoftBundle()
Deprecated.
-
getDefaultWeakBundle
@Deprecated public static ReferenceBundle getDefaultWeakBundle()
Deprecated.
-
-