Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DecoupledLoader (0.39 sec)

  1. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      public void testDecoupledLoader() {
        FinalizableReferenceQueue.DecoupledLoader decoupledLoader =
            new FinalizableReferenceQueue.DecoupledLoader() {
              @Override
              URLClassLoader newLoader(URL base) {
                return new DecoupledClassLoader(new URL[] {base});
              }
            };
    
        Class<?> finalizerCopy = decoupledLoader.loadFinalizer();
    
        assertNotNull(finalizerCopy);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      /** Reference to Finalizer.startFinalizer(). */
      private static final Method startFinalizer;
    
      static {
        Class<?> finalizer =
            loadFinalizer(new SystemLoader(), new DecoupledLoader(), new DirectLoader());
        startFinalizer = getStartFinalizer(finalizer);
      }
    
      /** The actual reference queue that our background thread will poll. */
      final ReferenceQueue<Object> 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