- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for loadAll (0.1 sec)
-
guava-tests/test/com/google/common/cache/CacheLoaderTest.java
reloadCount.incrementAndGet(); return immediateFuture(new Object()); } @Override public Map<Object, Object> loadAll(Iterable<?> keys) { loadAllCount.incrementAndGet(); return ImmutableMap.of(); } }; assertEquals(0, loadCount.get()); assertEquals(0, reloadCount.get());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* <p>Caches loaded by a {@link CacheLoader} will issue a single request to {@link * CacheLoader#loadAll} for all keys which are not already present in the cache. All entries * returned by {@link CacheLoader#loadAll} will be stored in the cache, over-writing any * previously cached values. This method will throw an exception if {@link CacheLoader#loadAll} * returns {@code null}, returns a map containing null keys or values, or fails to return an entry
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Aug 06 17:12:03 UTC 2022 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
* * @author mike nonemacher */ @GwtCompatible(emulated = true) class TestingCacheLoaders { /** * Returns a {@link CacheLoader} that implements a naive {@link CacheLoader#loadAll}, delegating * {@link CacheLoader#load} calls to {@code loader}. */ static <K, V> CacheLoader<K, V> bulkLoader(final CacheLoader<K, V> loader) { checkNotNull(loader); return new CacheLoader<K, V>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/Cache.java
* CacheBuilder#refreshAfterWrite automated refreshing} * <li>{@linkplain LoadingCache#getAll bulk loading requests}, including {@linkplain * CacheLoader#loadAll bulk loading implementations} * </ul> * * <p><b>Warning:</b> For any given key, every {@code loader} used with it should compute the same
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Aug 07 02:38:22 UTC 2022 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 86.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Cache.java
* CacheBuilder#refreshAfterWrite automated refreshing} * <li>{@linkplain LoadingCache#getAll bulk loading requests}, including {@linkplain * CacheLoader#loadAll bulk loading implementations} * </ul> * * <p><b>Warning:</b> For any given key, every {@code loader} used with it should compute the same
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Aug 07 02:38:22 UTC 2022 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
} } /** * Returns the result of calling {@link CacheLoader#loadAll}, or null if {@code loader} doesn't * implement {@code loadAll}. */ @CheckForNull Map<K, V> loadAll(Set<? extends K> keys, CacheLoader<? super K, V> loader) throws ExecutionException { checkNotNull(loader); checkNotNull(keys); Stopwatch stopwatch = Stopwatch.createStarted(); Map<K, V> result;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0)