Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Reloader (0.05 sec)

  1. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

        }
    
        /**
         * Returns the class loader.
         * <p>
         * The class loader is searched in the following order:
         * </p>
         * <ol>
         * <li>If the context class loader is set for the calling thread, that context class loader</li>
         * <li>If the class loader that loaded the target class can be obtained, that class loader</li>
         * <li>If the class loader that loaded this class can be obtained, that class loader</li>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceUtil.java

            assertArgumentNotNull("loader", loader);
    
            if (path == null || loader == null) {
                return null;
            }
            final String p = getResourcePath(path, extension);
            return loader.getResource(p);
        }
    
        /**
         * Returns the resource as a stream from the context class loader.
         *
         * @param path
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      private final CacheLoader<? super K, V> loader;
      private final RemovalListener<? super K, ? super V> removalListener;
      private final StatsCounter statsCounter;
      private final Ticker ticker;
      private final long expireAfterWrite;
      private final long expireAfterAccess;
    
      LocalCache(CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) {
        this.loader = loader;
        this.removalListener = builder.removalListener;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheLoader.java

      public static <K, V> CacheLoader<K, V> asyncReloading(
          CacheLoader<K, V> loader, Executor executor) {
        checkNotNull(loader);
        checkNotNull(executor);
        return new CacheLoader<K, V>() {
          @Override
          public V load(K key) throws Exception {
            return loader.load(key);
          }
    
          @Override
          public ListenableFuture<V> reload(K key, V oldValue) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      public void testBulkLoad_loadAll() throws ExecutionException {
        IdentityLoader<Integer> backingLoader = identityLoader();
        CacheLoader<Integer, Integer> loader = bulkLoader(backingLoader);
        LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().recordStats().build(loader);
        CacheStats stats = cache.stats();
        assertEquals(0, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        CountingLoader loader = new CountingLoader();
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        assertEquals(0, loader.getCount());
    
        Object key = new Object();
        Object value = map.get(key, loader);
        assertEquals(1, loader.getCount());
        assertEquals(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        WatchedCreatorLoader loader = new WatchedCreatorLoader();
        LoadingCache<String, Integer> cache =
            CacheBuilder.newBuilder()
                .expireAfterWrite(EXPIRING_TIME, MILLISECONDS)
                .removalListener(removalListener)
                .ticker(ticker)
                .build(loader);
        checkExpiration(cache, loader, ticker, removalListener);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

         *
         * @param classLoader the class loader (must not be {@literal null})
         * @return an {@link Iterable} wrapping a {@link ClassLoaderIterator}
         */
        public static Iterable<ClassLoader> iterable(final ClassLoader classLoader) {
            return () -> new ClassLoaderIterator(classLoader);
        }
    
        /**
         * Constructs an instance.
         *
         * @param classLoader the class loader (must not be {@literal null})
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryExpiredException.java

    /**
     * Exception thrown when a dictionary has expired and is no longer valid.
     * This runtime exception indicates that a dictionary file or dictionary data
     * has exceeded its lifetime and should be refreshed or reloaded.
     */
    public class DictionaryExpiredException extends RuntimeException {
    
        /** Serial version UID for serialization. */
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

                logger.warn("Failed to evaluate groovy script: {} => {}", template, paramMap, e);
                return null;
            } finally {
                final GroovyClassLoader loader = groovyShell.getClassLoader();
                loader.clearCache();
            }
        }
    
        @Override
        protected String getName() {
            return "groovy";
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top