- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 389 for loader (0.03 sec)
-
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
* </ol> * <p> * However, if both the class loader that loaded the target class and the class loader that loaded this class can be obtained, * and the class loader that loaded the target class is an ancestor of the class loader that loaded this class, * the class loader that loaded this class is returned. * </p> *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* overridden as desired. * * <p>Usage example: * * {@snippet : * CacheLoader<Key, Graph> loader = new CacheLoader<Key, Graph>() { * public Graph load(Key key) throws AnyException { * return createExpensiveGraph(key); * } * }; * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader); * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheRefreshTest.java
assertEquals(expectedLoads, loader.getLoadCount()); assertEquals(expectedReloads, loader.getReloadCount()); ticker.advance(1, MILLISECONDS); } assertEquals(Integer.valueOf(0), cache.getUnchecked(0)); assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); assertEquals(expectedLoads, loader.getLoadCount());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
* {@linkplain Thread#getContextClassLoader() context class loader}. In simple environments, the * context class loader will find resources from the class path. In environments where different * threads can have different class loaders, for example app servers, the context class loader * will typically have been set to an appropriate loader for the current thread. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java
assertEquals(expectedLoads, loader.getLoadCount()); assertEquals(expectedReloads, loader.getReloadCount()); ticker.advance(1, MILLISECONDS); } assertEquals(Integer.valueOf(0), cache.getUnchecked(0)); assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); assertEquals(expectedLoads, loader.getLoadCount());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
* 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. */ public class Finalizer implements Runnable { private static final Logger logger = Logger.getLogger(Finalizer.class.getName()); /** Name of FinalizableReference.class. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java
/** * An {@link Iterator} that iterates through the hierarchy of class loaders towards their parent class loaders. * <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.lang.ClassLoaderIterator.*; * * ClassLoader classLoader = ...; * for (ClassLoader loader : iterable(classLoader)) { * ... * } * </pre> * * @author koichik */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/Cache.java
* CacheLoader#loadAll bulk loading implementations} * </ul> * * <p><b>Warning:</b> For any given key, every {@code loader} used with it should compute the same * value. Otherwise, a call that passes one {@code loader} may return the result of another call * with a differently behaving {@code loader}. For example, a call that requests a short timeout * for an RPC may wait for a similar call that requests a long timeout, or a call by an
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
throw e; } catch (final Exception e) { 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) -
guava-tests/test/com/google/common/io/ResourcesTest.java
// loader, even if it is not visible to the loader of the Resources class. File tempFile = createTempFile(); PrintWriter writer = new PrintWriter(tempFile, "UTF-8"); writer.println("rud a chur ar an méar fhada"); writer.close(); // First check that we can't find it without setting the context loader.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 6.9K bytes - Viewed (0)