Class ReferenceManager

java.lang.Object
org.codehaus.groovy.util.ReferenceManager

public class ReferenceManager
extends java.lang.Object
  • Constructor Details

    • ReferenceManager

      public ReferenceManager​(java.lang.ref.ReferenceQueue queue)
  • Method Details

    • createThreadedManager

      public static ReferenceManager createThreadedManager​(java.lang.ref.ReferenceQueue queue)
    • createIdlingManager

      public static ReferenceManager createIdlingManager​(java.lang.ref.ReferenceQueue queue)
    • createCallBackedManager

      public static ReferenceManager createCallBackedManager​(java.lang.ref.ReferenceQueue queue)
    • createThresholdedIdlingManager

      public static ReferenceManager createThresholdedIdlingManager​(java.lang.ref.ReferenceQueue queue, ReferenceManager callback, int threshold)
    • getReferenceQueue

      protected java.lang.ref.ReferenceQueue getReferenceQueue()
    • afterReferenceCreation

      public void afterReferenceCreation​(Reference r)
    • removeStallEntries

      public void removeStallEntries()
    • stopThread

      public void stopThread()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • getDefaultSoftBundle

      @Deprecated public static ReferenceBundle getDefaultSoftBundle()
    • getDefaultWeakBundle

      @Deprecated public static ReferenceBundle getDefaultWeakBundle()