Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PhantomReference (0.17 sec)

  1. android/guava/src/com/google/common/base/internal/Finalizer.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.base.internal;
    
    import java.lang.ref.PhantomReference;
    import java.lang.ref.Reference;
    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.WeakReference;
    import java.lang.reflect.Constructor;
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 23 12:54:09 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/FinalizablePhantomReference.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.lang.ref.PhantomReference;
    import java.lang.ref.ReferenceQueue;
    import javax.annotation.CheckForNull;
    
    /**
     * Phantom reference with a {@code finalizeReferent()} method which a background thread invokes
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      final PhantomReference<Object> frqRef;
    
      /** Whether or not the background thread started successfully. */
      final boolean threadStarted;
    
      /** Constructs a new queue. */
      public FinalizableReferenceQueue() {
        // We could start the finalizer lazily, but I'd rather it blow up early.
        queue = new ReferenceQueue<>();
        frqRef = new PhantomReference<>(this, queue);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top