Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for finalizeReferent (0.09 seconds)

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

     * {@link FinalizableReference#finalizeReferent()} on them. Java 9+ users should prefer {@link
     * java.lang.ref.Cleaner Cleaner}; see example <a href="#cleaner">below</a>.
     *
     * <p>Keep a strong reference to this object until all of the associated referents have been
     * finalized. If this object is garbage collected earlier, the backing thread will not invoke {@code
     * finalizeReferent()} on the remaining references.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

     * {@link FinalizableReference#finalizeReferent()} on them. Java 9+ users should prefer {@link
     * java.lang.ref.Cleaner Cleaner}; see example <a href="#cleaner">below</a>.
     *
     * <p>Keep a strong reference to this object until all of the associated referents have been
     * finalized. If this object is garbage collected earlier, the backing thread will not invoke {@code
     * finalizeReferent()} on the remaining references.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        final CountDownLatch latch;
    
        FinalizableReference(Object referent, CountDownLatch latch) {
          super(referent, referenceQueue);
          this.latch = latch;
        }
    
        @Override
        public void finalizeReferent() {
          references.remove(this);
          latch.countDown();
        }
      }
    
      @FormatMethod
      private static RuntimeException formatRuntimeException(String format, Object... args) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/FileBackedOutputStream.java

        final State state;
    
        FinalizableReference(FbosByteSource referent) {
          super(referent, referenceQueue);
          this.state = referent.state;
        }
    
        @Override
        public void finalizeReferent() {
          references.remove(this);
          try {
            state.reset();
          } catch (Throwable t) {
            t.printStackTrace(System.err);
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

        final CountDownLatch latch;
    
        FinalizableReference(Object referent, CountDownLatch latch) {
          super(referent, referenceQueue);
          this.latch = latch;
        }
    
        @Override
        public void finalizeReferent() {
          references.remove(this);
          latch.countDown();
        }
      }
    
      @FormatMethod
      private static RuntimeException formatRuntimeException(String format, Object... args) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
Back to Top