- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 149 for invalidate (0.18 sec)
-
android/guava-tests/test/com/google/common/cache/AbstractCacheTest.java
cache.invalidateAll(toInvalidate); assertEquals(toInvalidate, invalidated); } public void testEmptySimpleStats() { StatsCounter counter = new SimpleStatsCounter(); CacheStats stats = counter.snapshot(); assertEquals(0, stats.requestCount()); assertEquals(0, stats.hitCount()); assertEquals(1.0, stats.hitRate()); assertEquals(0, stats.missCount());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/ForwardingCacheTest.java
assertEquals( ImmutableMap.of("key", Boolean.TRUE), forward.getAllPresent(ImmutableList.of("key"))); } public void testInvalidate() { forward.invalidate("key"); verify(mock).invalidate("key"); } public void testInvalidateAllIterable() { forward.invalidateAll(ImmutableList.of("key")); verify(mock).invalidateAll(ImmutableList.of("key")); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractLoadingCache.java
* {@code get}; {@link #getAllPresent} is implemented in terms of {@code getIfPresent}; {@link * #putAll} is implemented in terms of {@link #put}, {@link #invalidateAll(Iterable)} is implemented * in terms of {@link #invalidate}. The method {@link #cleanUp} is a no-op. All other methods throw * an {@link UnsupportedOperationException}. * * @author Charles Fry * @since 11.0 */ @GwtIncompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sat Aug 06 17:12:03 GMT 2022 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractLoadingCache.java
* {@code get}; {@link #getAllPresent} is implemented in terms of {@code getIfPresent}; {@link * #putAll} is implemented in terms of {@link #put}, {@link #invalidateAll(Iterable)} is implemented * in terms of {@link #invalidate}. The method {@link #cleanUp} is a no-op. All other methods throw * an {@link UnsupportedOperationException}. * * @author Charles Fry * @since 11.0 */ @GwtIncompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Aug 06 17:12:03 GMT 2022 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
} @Override public void invalidate(Object key) { throw new UnsupportedOperationException(); } /** @since 11.0 */ @Override // For discussion of <? extends Object>, see getAllPresent. public void invalidateAll(Iterable<? extends Object> keys) { for (Object key : keys) { invalidate(key); } } @Override public void invalidateAll() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(0, 10); assertEquals(Integer.valueOf(10), cache.get(0, loader)); assertEquals(Integer.valueOf(1), cache.get(20, loader)); assertEquals(Integer.valueOf(2), cache.get(34, loader)); cache.invalidate(0); assertEquals(Integer.valueOf(3), cache.get(0, loader)); cache.put(0, 10); cache.invalidateAll(); assertEquals(Integer.valueOf(4), cache.get(0, loader)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
} public void testApply() { when(mock.apply("key")).thenReturn(Boolean.TRUE); assertSame(Boolean.TRUE, forward.apply("key")); } public void testInvalidate() { forward.invalidate("key"); verify(mock).invalidate("key"); } public void testRefresh() throws ExecutionException { forward.refresh("key"); verify(mock).refresh("key"); } public void testInvalidateAll() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
} public void testApply() { when(mock.apply("key")).thenReturn(Boolean.TRUE); assertSame(Boolean.TRUE, forward.apply("key")); } public void testInvalidate() { forward.invalidate("key"); verify(mock).invalidate("key"); } public void testRefresh() throws ExecutionException { forward.refresh("key"); verify(mock).refresh("key"); } public void testInvalidateAll() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
} @Override public void invalidate(Object key) { throw new UnsupportedOperationException(); } /** @since 11.0 */ @Override // For discussion of <? extends Object>, see getAllPresent. public void invalidateAll(Iterable<? extends Object> keys) { for (Object key : keys) { invalidate(key); } } @Override public void invalidateAll() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ForwardingCacheTest.java
assertEquals( ImmutableMap.of("key", Boolean.TRUE), forward.getAllPresent(ImmutableList.of("key"))); } public void testInvalidate() { forward.invalidate("key"); verify(mock).invalidate("key"); } public void testInvalidateAllIterable() { forward.invalidateAll(ImmutableList.of("key")); verify(mock).invalidateAll(ImmutableList.of("key")); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.1K bytes - Viewed (0)