All Methods Static Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
protected <K,V> void |
assertContainsKeys(Cache<K,V> cache,
K... keys) |
protected <K,V> void |
assertEmpty(Cache<K,V> cache) |
protected static <T> void |
assertEventuallyThat(Supplier<T> actual,
org.hamcrest.Matcher<? super T> matcher)
Version of MatcherAssert.assertThat(T, org.hamcrest.Matcher<? super T>) that retries for a brief duration before giving up.
|
protected <K,V> void |
assertMissingKeys(Cache<K,V> cache,
K... keys) |
protected <K,V> void |
assertSize(Cache<K,V> cache,
int expectedSize) |
protected Cache<String,Long> |
makeExceptionalCache() |
protected Cache<String,Long> |
makeExpiringCache() |
protected Cache<String,Long> |
makeNullReturningCache() |
protected Cache<String,Long> |
makeSimpleCache() |
protected Cache<String,Long> |
makeSimpleCache(boolean statsEnabled) |
protected Cache<String,Long> |
makeSizeLimitedCache(int maxEntries,
AtomicInteger loadCounter) |
protected Cache<String,Long> |
makeSizeLimitedCache(int maxEntries,
String cacheName) |
protected Cache<String,Long> |
makeSlowCache() |
protected Cache<String,Long> |
makeUnexpiringCache() |
protected CacheSettingsBuilder |
settingsBuilder() |
protected CacheSettingsBuilder |
settingsBuilder(boolean statsEnabled) |
void |
testWhenRemovingAKeyWhereTheLoaderReturnsNullTheExceptionIsSwallowed() |
void |
testWhenRemovingAKeyWithValueWhereTheLoaderReturnsNullTheExceptionIsSwallowed() |
void |
testWhenRemovingAllKeysWhereTheLoaderReturnsNullTheExceptionIsSwallowed() |