Class LocalCacheFactory.SSSMSAW<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.SS<K,V>
-
- com.github.benmanes.caffeine.cache.LocalCacheFactory.SSS<K,V>
-
- com.github.benmanes.caffeine.cache.LocalCacheFactory.SSSMS<K,V>
-
- com.github.benmanes.caffeine.cache.LocalCacheFactory.SSSMSA<K,V>
-
- com.github.benmanes.caffeine.cache.LocalCacheFactory.SSSMSAW<K,V>
-
- All Implemented Interfaces:
LocalCache<K,V>
,java.util.concurrent.ConcurrentMap<K,V>
,java.util.Map<K,V>
- Direct Known Subclasses:
LocalCacheFactory.SSSMSAWR
- Enclosing class:
- LocalCacheFactory
static class LocalCacheFactory.SSSMSAW<K,V> extends LocalCacheFactory.SSSMSA<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 long
expiresAfterWriteNanos
private WriteOrderDeque<Node<K,V>>
writeOrderDeque
-
Fields inherited from class com.github.benmanes.caffeine.cache.LocalCacheFactory.SSSMS
EDEN_MAXIMUM_OFFSET, EDEN_WEIGHTED_SIZE_OFFSET, MAIN_PROTECTED_MAXIMUM_OFFSET, MAIN_PROTECTED_WEIGHTED_SIZE_OFFSET, MAXIMUM_OFFSET, WEIGHTED_SIZE_OFFSET
-
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 protected boolean
expiresAfterWrite()
Returns if the cache expires entries after an write time threshold.protected long
expiresAfterWriteNanos()
How long after the last write to an entry the map will retain that entry.protected void
setExpiresAfterWriteNanos(long expiresAfterWriteNanos)
protected WriteOrderDeque<Node<K,V>>
writeOrderDeque()
-
Methods inherited from class com.github.benmanes.caffeine.cache.LocalCacheFactory.SSSMSA
expirationTicker, expiresAfterAccess, expiresAfterAccessNanos, fastpath, setExpiresAfterAccessNanos
-
Methods inherited from class com.github.benmanes.caffeine.cache.LocalCacheFactory.SSSMS
accessOrderEdenDeque, accessOrderProbationDeque, accessOrderProtectedDeque, buffersWrites, edenMaximum, edenWeightedSize, evicts, frequencySketch, lazySetEdenMaximum, lazySetEdenWeightedSize, lazySetMainProtectedMaximum, lazySetMainProtectedWeightedSize, lazySetMaximum, lazySetWeightedSize, mainProtectedMaximum, mainProtectedWeightedSize, maximum, weightedSize, writeBuffer
-
Methods inherited from class com.github.benmanes.caffeine.cache.LocalCacheFactory.SSS
isRecordingStats, statsCounter, statsTicker
-
Methods inherited from class com.github.benmanes.caffeine.cache.BoundedLocalCache
adjustedWeightedSize, admit, afterRead, afterWrite, ceilingPowerOfTwo, cleanUp, clear, collectKeys, collectValues, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, doComputeIfAbsent, drainKeyReferences, drainReadBuffer, drainValueReferences, drainWriteBuffer, entrySet, estimatedSize, evictEntries, evictEntry, evictFromEden, evictFromMain, evictionOrder, executor, expireAfterAccessEntries, expireAfterAccessEntries, expireAfterAcessOrder, expireAfterWriteEntries, expireAfterWriteOrder, expireEntries, get, getAllPresent, getIfPresent, getIfPresentQuietly, hasExpired, hasRemovalListener, hasWriter, hasWriteTime, isComputingAsync, isEmpty, isWeighted, keyReferenceQueue, keySet, maintenance, makeDead, makeSerializationProxy, 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, setMaximum, setRefreshAfterWriteNanos, size, skipReadBuffer, snapshot, valueReferenceQueue, values
-
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
-
writeOrderDeque
private final WriteOrderDeque<Node<K,V>> writeOrderDeque
-
expiresAfterWriteNanos
private volatile long expiresAfterWriteNanos
-
-
Method Detail
-
writeOrderDeque
protected final WriteOrderDeque<Node<K,V>> writeOrderDeque()
- Overrides:
writeOrderDeque
in classBoundedLocalCache<K,V>
-
expiresAfterWrite
protected final boolean expiresAfterWrite()
Description copied from class:BoundedLocalCache
Returns if the cache expires entries after an write time threshold.- Overrides:
expiresAfterWrite
in classBoundedLocalCache<K,V>
-
expiresAfterWriteNanos
protected final long expiresAfterWriteNanos()
Description copied from class:BoundedLocalCache
How long after the last write to an entry the map will retain that entry.- Overrides:
expiresAfterWriteNanos
in classBoundedLocalCache<K,V>
-
setExpiresAfterWriteNanos
protected final void setExpiresAfterWriteNanos(long expiresAfterWriteNanos)
- Overrides:
setExpiresAfterWriteNanos
in classBoundedLocalCache<K,V>
-
-