Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for loads (0.19 sec)

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

     * unloading an OSGi bundle.
     *
     * <p>{@code com.google.common.base.FinalizableReferenceQueue} loads this class in its own class
     * loader. That way, this class doesn't prevent the main class loader from getting garbage
     * collected, and this class can detect when the main class loader has been garbage collected and
     * stop itself.
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        throw new AssertionError();
      }
    
      /** Loads Finalizer.class. */
      interface FinalizerLoader {
    
        /**
         * Returns Finalizer.class or null if this loader shouldn't or can't load it.
         *
         * @throws SecurityException if we don't have the appropriate privileges
         */
        @CheckForNull
        Class<?> loadFinalizer();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

        throw new AssertionError();
      }
    
      /** Loads Finalizer.class. */
      interface FinalizerLoader {
    
        /**
         * Returns Finalizer.class or null if this loader shouldn't or can't load it.
         *
         * @throws SecurityException if we don't have the appropriate privileges
         */
        @CheckForNull
        Class<?> loadFinalizer();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LoadingCache.java

       * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that
       * multiple threads can concurrently load values for distinct keys.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values
       * into the cache. Newly loaded values are added to the cache using {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      public void testGetChecked_classUnloading() throws Exception {
        WeakReference<?> classUsedByGetChecked = doTestClassUnloading();
        GcFinalization.awaitClear(classUsedByGetChecked);
      }
    
      /**
       * Loads {@link WillBeUnloadedException} in a separate {@code ClassLoader}, calls {@code
       * getChecked(future, WillBeUnloadedException.class)}, and returns the loader. The caller can then
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        // sepLoader is the loader that we will use to load the parallel FinalizableReferenceQueue (FRQ)
        // and friends, and that we will eventually expect to see garbage-collected. The assumption
        // is that the ClassLoader of this test is a URLClassLoader, and that it loads FRQ itself
        // rather than delegating to a parent ClassLoader. If this assumption is violated the test will
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/internal/Finalizer.java

     * unloading an OSGi bundle.
     *
     * <p>{@code com.google.common.base.FinalizableReferenceQueue} loads this class in its own class
     * loader. That way, this class doesn't prevent the main class loader from getting garbage
     * collected, and this class can detect when the main class loader has been garbage collected and
     * stop itself.
     */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheLoader.java

       * implement {@link #load load} instead.
       *
       * <p>The returned object is serializable if {@code supplier} is serializable.
       *
       * @param supplier the supplier to be used for loading values; must never return {@code null}
       * @return a cache loader that loads values by calling {@link Supplier#get}, irrespective of the
       *     key
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/ClassPath.java

         * named with the '$' character. If this is a concern, you could use {@link #load} and then
         * check on the loaded {@link Class} object instead.
         *
         * @since 30.1
         */
        public boolean isTopLevel() {
          return className.indexOf('$') == -1;
        }
    
        /**
         * Loads (but doesn't link or initialize) the class.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  10. guava/src/com/google/common/cache/CacheLoader.java

       * implement {@link #load load} instead.
       *
       * <p>The returned object is serializable if {@code supplier} is serializable.
       *
       * @param supplier the supplier to be used for loading values; must never return {@code null}
       * @return a cache loader that loads values by calling {@link Supplier#get}, irrespective of the
       *     key
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top