Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FinalizableReferenceQueue (0.23 sec)

  1. guava/src/com/google/common/base/FinalizableReferenceQueue.java

     * number of well-known problems. Here is how you might use this class instead:
     *
     * <pre>{@code
     * public class MyServer implements Closeable {
     *   private static final FinalizableReferenceQueue frq = new FinalizableReferenceQueue();
     *   // You might also share this between several objects.
     *
     *   private static final Set<Reference<?>> references = Sets.newConcurrentHashSet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

      /*
       * The following tests check that the use of FinalizableReferenceQueue does not prevent the
       * ClassLoader that loaded that class from later being garbage-collected. If anything continues
       * to reference the FinalizableReferenceQueue class then its ClassLoader cannot be
       * garbage-collected, even if there are no more instances of FinalizableReferenceQueue itself.
       * The code in FinalizableReferenceQueue goes to considerable trouble to ensure that there are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top