Class ReferenceManager


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

      • ReferenceManager

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

      • 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