Class LocalCacheFactory.WIS<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- com.github.benmanes.caffeine.cache.BLCHeader.PadDrainStatus<K,V>
-
- com.github.benmanes.caffeine.cache.BLCHeader.DrainStatusRef<K,V>
-
- com.github.benmanes.caffeine.cache.BoundedLocalCache<K,V>
-
- com.github.benmanes.caffeine.cache.LocalCacheFactory.WI<K,V>
-
- com.github.benmanes.caffeine.cache.LocalCacheFactory.WIS<K,V>
-
- All Implemented Interfaces:
LocalCache<K,V>
,java.util.concurrent.ConcurrentMap<K,V>
,java.util.Map<K,V>
- Direct Known Subclasses:
LocalCacheFactory.WISA
,LocalCacheFactory.WISMS
,LocalCacheFactory.WISMW
,LocalCacheFactory.WISR
,LocalCacheFactory.WISW
- Enclosing class:
- LocalCacheFactory
static class LocalCacheFactory.WIS<K,V> extends LocalCacheFactory.WI<K,V>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.benmanes.caffeine.cache.BoundedLocalCache
BoundedLocalCache.AddTask, BoundedLocalCache.BoundedLocalAsyncLoadingCache<K,V>, BoundedLocalCache.BoundedLocalLoadingCache<K,V>, BoundedLocalCache.BoundedLocalManualCache<K,V>, BoundedLocalCache.BoundedPolicy<K,V>, BoundedLocalCache.EntryIterator<K,V>, BoundedLocalCache.EntrySetView<K,V>, BoundedLocalCache.EntrySpliterator<K,V>, BoundedLocalCache.KeyIterator<K,V>, BoundedLocalCache.KeySetView<K,V>, BoundedLocalCache.KeySpliterator<K,V>, BoundedLocalCache.PerformCleanupTask, BoundedLocalCache.RemovalTask, BoundedLocalCache.UpdateTask, BoundedLocalCache.ValueIterator<K,V>, BoundedLocalCache.ValueSpliterator<K,V>, BoundedLocalCache.ValuesView<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description private StatsCounter
statsCounter
-
Fields inherited from class com.github.benmanes.caffeine.cache.BoundedLocalCache
accessPolicy, cacheLoader, data, drainBuffersTask, entrySet, evictionLock, executor, EXPIRE_WRITE_TOLERANCE, isAsync, keySet, logger, MAXIMUM_CAPACITY, NCPU, nodeFactory, PERCENT_MAIN, PERCENT_MAIN_PROTECTED, readBuffer, values, weigher, WRITE_BUFFER_MAX, WRITE_BUFFER_MIN, WRITE_BUFFER_RETRIES, writer
-
Fields inherited from class com.github.benmanes.caffeine.cache.BLCHeader.DrainStatusRef
DRAIN_STATUS_OFFSET, drainStatus, IDLE, PROCESSING_TO_IDLE, PROCESSING_TO_REQUIRED, REQUIRED
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRecordingStats()
Returns whether this cache has statistics enabled.StatsCounter
statsCounter()
Returns theStatsCounter
used by this cache.Ticker
statsTicker()
Returns theTicker
used by this cache for statistics.-
Methods inherited from class com.github.benmanes.caffeine.cache.LocalCacheFactory.WI
collectKeys, collectValues, keyReferenceQueue, valueReferenceQueue
-
Methods inherited from class com.github.benmanes.caffeine.cache.BoundedLocalCache
accessOrderEdenDeque, accessOrderProbationDeque, accessOrderProtectedDeque, adjustedWeightedSize, admit, afterRead, afterWrite, buffersWrites, ceilingPowerOfTwo, cleanUp, clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, doComputeIfAbsent, drainKeyReferences, drainReadBuffer, drainValueReferences, drainWriteBuffer, edenMaximum, edenWeightedSize, entrySet, estimatedSize, evictEntries, evictEntry, evictFromEden, evictFromMain, evictionOrder, evicts, executor, expirationTicker, expireAfterAccessEntries, expireAfterAccessEntries, expireAfterAcessOrder, expireAfterWriteEntries, expireAfterWriteOrder, expireEntries, expiresAfterAccess, expiresAfterAccessNanos, expiresAfterWrite, expiresAfterWriteNanos, fastpath, frequencySketch, get, getAllPresent, getIfPresent, getIfPresentQuietly, hasExpired, hasRemovalListener, hasWriter, hasWriteTime, isComputingAsync, isEmpty, isWeighted, keySet, lazySetEdenMaximum, lazySetEdenWeightedSize, lazySetMainProtectedMaximum, lazySetMainProtectedWeightedSize, lazySetMaximum, lazySetWeightedSize, mainProtectedMaximum, mainProtectedWeightedSize, maintenance, makeDead, makeSerializationProxy, maximum, merge, notifyRemoval, onAccess, performCleanUp, put, put, putFast, putIfAbsent, putSlow, refreshAfterWrite, refreshAfterWriteNanos, refreshIfNeeded, remap, removalListener, remove, remove, removeNode, removeNodes, removeNoWriter, removeWithWriter, reorder, reorderProbation, replace, replace, replaceAll, scheduleAfterWrite, scheduleDrainBuffers, setExpiresAfterAccessNanos, setExpiresAfterWriteNanos, setMaximum, setRefreshAfterWriteNanos, size, skipReadBuffer, snapshot, values, weightedSize, writeBuffer, writeOrderDeque
-
Methods inherited from class com.github.benmanes.caffeine.cache.BLCHeader.DrainStatusRef
casDrainStatus, drainStatus, lazySetDrainStatus, shouldDrainBuffers
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.benmanes.caffeine.cache.LocalCache
compute, computeIfAbsent, invalidateAll, statsAware, statsAware, statsAware
-
-
-
-
Field Detail
-
statsCounter
private final StatsCounter statsCounter
-
-
Method Detail
-
isRecordingStats
public final boolean isRecordingStats()
Description copied from interface:LocalCache
Returns whether this cache has statistics enabled.- Specified by:
isRecordingStats
in interfaceLocalCache<K,V>
- Overrides:
isRecordingStats
in classBoundedLocalCache<K,V>
-
statsTicker
public final Ticker statsTicker()
Description copied from interface:LocalCache
Returns theTicker
used by this cache for statistics.- Specified by:
statsTicker
in interfaceLocalCache<K,V>
- Overrides:
statsTicker
in classBoundedLocalCache<K,V>
-
statsCounter
public final StatsCounter statsCounter()
Description copied from interface:LocalCache
Returns theStatsCounter
used by this cache.- Specified by:
statsCounter
in interfaceLocalCache<K,V>
- Overrides:
statsCounter
in classBoundedLocalCache<K,V>
-
-