public final class LoadingCacheProxy<K,V> extends CacheProxy<K,V>
Cache backed by a Caffeine loading cache.Cache.Entry<K,V>cacheLoader, dispatcher, executor, expiry, inFlight, statistics, ticker| Constructor and Description |
|---|
LoadingCacheProxy(String name,
Executor executor,
CacheManager cacheManager,
CaffeineConfiguration<K,V> configuration,
LoadingCache<K,Expirable<V>> cache,
EventDispatcher<K,V> dispatcher,
CacheLoader<K,V> cacheLoader,
ExpiryPolicy expiry,
Ticker ticker,
JCacheStatisticsMXBean statistics) |
| Modifier and Type | Method and Description |
|---|---|
V |
get(K key) |
Map<K,V> |
getAll(Set<? extends K> keys) |
void |
loadAll(Set<? extends K> keys,
boolean replaceExistingValues,
CompletionListener completionListener) |
clear, close, containsKey, copyMap, copyOf, copyValue, currentTimeMillis, deregisterCacheEntryListener, getAndFilterExpiredEntries, getAndPut, getAndRemove, getAndReplace, getCacheManager, getConfiguration, getConfiguration, getName, getWriteExpireTimeMS, invoke, invokeAll, isClosed, iterator, nanosToMillis, put, putAll, putIfAbsent, putNoCopyOrAwait, registerCacheEntryListener, remove, remove, removeAll, removeAll, replace, replace, requireNotClosed, setAccessExpirationTime, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic LoadingCacheProxy(String name, Executor executor, CacheManager cacheManager, CaffeineConfiguration<K,V> configuration, LoadingCache<K,Expirable<V>> cache, EventDispatcher<K,V> dispatcher, CacheLoader<K,V> cacheLoader, ExpiryPolicy expiry, Ticker ticker, JCacheStatisticsMXBean statistics)