- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for cleanup (0.19 sec)
-
android/guava-tests/test/com/google/common/cache/CacheTesting.java
static void checkValidState(LocalCache<?, ?> cchm) { for (Segment<?, ?> segment : cchm.segments) { segment.cleanUp(); assertFalse(segment.isLocked()); Map<?, ?> table = segmentTable(segment); // cleanup and then check count after we have a strong reference to all entries segment.cleanUp(); // under high memory pressure keys/values may be nulled out but not yet enqueued
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 16.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
} public void testAsMap() { when(mock.asMap()).thenReturn(null); assertNull(forward.asMap()); } public void testCleanUp() { forward.cleanUp(); verify(mock).cleanUp(); } /** Make sure that all methods are forwarded. */ private static class OnlyGet<K, V> extends ForwardingLoadingCache<K, V> { @Override protected LoadingCache<K, V> delegate() {
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) -
guava-tests/test/com/google/common/cache/CacheTesting.java
static void checkValidState(LocalCache<?, ?> cchm) { for (Segment<?, ?> segment : cchm.segments) { segment.cleanUp(); assertFalse(segment.isLocked()); Map<?, ?> table = segmentTable(segment); // cleanup and then check count after we have a strong reference to all entries segment.cleanUp(); // under high memory pressure keys/values may be nulled out but not yet enqueued
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 16.7K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableWeakReference.java
* @param queue that should finalize the referent */ protected FinalizableWeakReference(@CheckForNull T referent, FinalizableReferenceQueue queue) { super(referent, queue.queue); queue.cleanUp(); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 1.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
* implemented in terms of {@link #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 10.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault
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/src/com/google/common/base/internal/Finalizer.java
@SuppressWarnings("InfiniteLoopStatement") @Override public void run() { while (true) { try { if (!cleanUp(queue.remove())) { break; } } catch (InterruptedException e) { // ignore } } } /** * Cleans up the given reference and any other references already in the queue. Catches and logs * all throwables. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 23 12:54:09 GMT 2023 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ForwardingCacheTest.java
assertNull(forward.stats()); } public void testAsMap() { when(mock.asMap()).thenReturn(null); assertNull(forward.asMap()); } public void testCleanUp() { forward.cleanUp(); verify(mock).cleanUp(); } /** Make sure that all methods are forwarded. */ private static class OnlyGet<K, V> extends ForwardingCache<K, V> { @Override protected Cache<K, V> delegate() {
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) -
guava/src/com/google/common/cache/ForwardingCache.java
public CacheStats stats() { return delegate().stats(); } @Override public ConcurrentMap<K, V> asMap() { return delegate().asMap(); } @Override public void cleanUp() { delegate().cleanUp(); } /** * A simplified version of {@link ForwardingCache} where subclasses can pass in an already * constructed {@link Cache} as the delegate. * * @since 10.0 */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ForwardingCache.java
public CacheStats stats() { return delegate().stats(); } @Override public ConcurrentMap<K, V> asMap() { return delegate().asMap(); } @Override public void cleanUp() { delegate().cleanUp(); } /** * A simplified version of {@link ForwardingCache} where subclasses can pass in an already * constructed {@link Cache} as the delegate. * * @since 10.0 */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableSoftReference.java
* @param queue that should finalize the referent */ protected FinalizableSoftReference(@CheckForNull T referent, FinalizableReferenceQueue queue) { super(referent, queue.queue); queue.cleanUp(); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 1.6K bytes - Viewed (0)