- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for invalidateAll (0.1 sec)
-
android/guava/src/com/google/common/cache/RemovalCause.java
* @since 10.0 */ @GwtCompatible public enum RemovalCause { /** * The entry was manually removed by the user. This can result from the user invoking {@link * Cache#invalidate}, {@link Cache#invalidateAll(Iterable)}, {@link Cache#invalidateAll()}, {@link * Map#remove}, {@link ConcurrentMap#remove}, or {@link Iterator#remove}. */ EXPLICIT { @Override boolean wasEvicted() { return false; } },
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalCause.java
* @since 10.0 */ @GwtCompatible public enum RemovalCause { /** * The entry was manually removed by the user. This can result from the user invoking {@link * Cache#invalidate}, {@link Cache#invalidateAll(Iterable)}, {@link Cache#invalidateAll()}, {@link * Map#remove}, {@link ConcurrentMap#remove}, or {@link Iterator#remove}. */ EXPLICIT { @Override boolean wasEvicted() { return false; } },
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/Cache.java
* Discards any cached values for keys {@code keys}. * * @since 11.0 */ // For discussion of <? extends Object>, see getAllPresent. void invalidateAll(Iterable<? extends Object> keys); /** Discards all entries in the cache. */ void invalidateAll(); /** Returns the approximate number of entries in this cache. */ long size(); /**
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/CacheBuilderGwtTest.java
cache.put(2456, 56); cache.put(2, 15); cache.invalidateAll(); assertFalse(cache.asMap().containsKey(654)); assertFalse(cache.asMap().containsKey(2456)); assertFalse(cache.asMap().containsKey(2)); cache.put(654, 2675); cache.put(2456, 56); cache.put(2, 15); cache.put(1, 3); cache.invalidateAll(ImmutableSet.of(1, 2)); assertFalse(cache.asMap().containsKey(1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 14.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
@Override public void invalidate(Object key) { invalidated.add(key); } }; List<Integer> toInvalidate = ImmutableList.of(1, 2, 3, 4); cache.invalidateAll(toInvalidate); assertEquals(toInvalidate, invalidated); } public void testEmptySimpleStats() { StatsCounter counter = new SimpleStatsCounter(); CacheStats stats = counter.snapshot();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PopularWordHelper.java
} return Collections.emptyList(); } /** * Clears all cached popular word lists. */ public void clearCache() { cache.invalidateAll(); } /** * Generates a cache key based on the provided parameters. * * @param seed the seed value * @param tags array of tags * @param roles array of roles
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
} public void testInvalidateAll_empty() { for (LoadingCache<Object, Object> cache : caches()) { cache.getUnchecked("a"); cache.getUnchecked("b"); cache.getUnchecked("c"); cache.invalidateAll(); checkEmpty(cache); } } public void testEquals_null() { for (LoadingCache<Object, Object> cache : caches()) { assertFalse(cache.equals(null)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Cache.java
* Discards any cached values for keys {@code keys}. * * @since 11.0 */ // For discussion of <? extends Object>, see getAllPresent. void invalidateAll(Iterable<? extends Object> keys); /** Discards all entries in the cache. */ void invalidateAll(); /** Returns the approximate number of entries in this cache. */ long size(); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
getAll(cache, asList(46)); CacheTesting.drainRecencyQueues(cache); assertThat(keySet).contains(0); } public void testEviction_invalidateAll() { // test that .invalidateAll() resets total weight state correctly IdentityLoader<Integer> loader = identityLoader(); LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
Key key = new Key(1); String value = key.toString(); assertSame(value, cache.getUnchecked(key)); assertFalse(cache.asMap().isEmpty()); cache.invalidateAll(); assertEquals(0, cache.size()); assertTrue(cache.asMap().isEmpty()); assertFalse(cache.asMap().containsKey(key)); assertFalse(cache.asMap().containsValue(value)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 5.1K bytes - Viewed (0)