- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for LoadingCache (0.06 sec)
-
android/guava-tests/test/com/google/common/cache/NullCacheTest.java
import com.google.common.util.concurrent.UncheckedExecutionException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * {@link LoadingCache} tests for caches with a maximum size of zero. * * @author mike nonemacher */ @NullUnmarked public class NullCacheTest extends TestCase { QueuingRemovalListener<Object, Object> listener; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/NullCacheTest.java
import com.google.common.util.concurrent.UncheckedExecutionException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * {@link LoadingCache} tests for caches with a maximum size of zero. * * @author mike nonemacher */ @NullUnmarked public class NullCacheTest extends TestCase { QueuingRemovalListener<Object, Object> listener; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
@NullUnmarked public class AbstractLoadingCacheTest extends TestCase { public void testGetUnchecked_checked() { Exception cause = new Exception(); AtomicReference<Object> valueRef = new AtomicReference<>(); LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { @Override public Object get(Object key) throws ExecutionException { Object v = valueRef.get();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* * <p>This method should be overridden when bulk retrieval is significantly more efficient than * many individual lookups. Note that {@link LoadingCache#getAll} will defer to individual calls * to {@link LoadingCache#get} if this method is not overridden. * * @param keys the unique, non-null keys whose values should be loaded
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/src/com/google/common/cache/Cache.java
* create, cache and return" pattern. For further improvements, use {@link LoadingCache} and its * {@link LoadingCache#get(Object) get(K)} method instead of this one. * * <p>Among the improvements that this method and {@code LoadingCache.get(K)} both provide are: * * <ul> * <li>{@linkplain LoadingCache#get(Object) awaiting the result of a pending load} rather than * starting a redundant one
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
} private Iterable<LoadingCache<Key, String>> caches() { CacheBuilderFactory factory = factoryWithAllKeyStrengths(); return Iterables.transform( factory.buildAllPermutations(), new Function<CacheBuilder<Object, Object>, LoadingCache<Key, String>>() { @Override public LoadingCache<Key, String> apply(CacheBuilder<Object, Object> builder) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ForwardingLoadingCache.java
* constructed {@link LoadingCache} as the delegate. * * @since 10.0 */ public abstract static class SimpleForwardingLoadingCache<K, V> extends ForwardingLoadingCache<K, V> { private final LoadingCache<K, V> delegate; protected SimpleForwardingLoadingCache(LoadingCache<K, V> delegate) { this.delegate = Preconditions.checkNotNull(delegate); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java
*/ private static final String EXCLUDE = "exclude"; /** * Cache for include filters. */ protected LoadingCache<String, List<Pattern>> includeFilterCache; /** * Cache for exclude filters. */ protected LoadingCache<String, List<Pattern>> excludeFilterCache; /** * The expiration time for the filter cache in seconds. */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 9.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
import com.google.common.primitives.Ints; import java.util.Random; import java.util.concurrent.atomic.AtomicLong; import org.jspecify.annotations.NullUnmarked; /** * Single-threaded benchmark for {@link LoadingCache}. * * @author Charles Fry */ @NullUnmarked public class LoadingCacheSingleThreadBenchmark { @Param({"1000", "2000"}) int maximumSize; @Param("5000") int distinctKeys; @Param("4")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Cache.java
* create, cache and return" pattern. For further improvements, use {@link LoadingCache} and its * {@link LoadingCache#get(Object) get(K)} method instead of this one. * * <p>Among the improvements that this method and {@code LoadingCache.get(K)} both provide are: * * <ul> * <li>{@linkplain LoadingCache#get(Object) awaiting the result of a pending load} rather than * starting a redundant one
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.3K bytes - Viewed (0)