Class SISAW<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.SI<K,V>
com.github.benmanes.caffeine.cache.SIS<K,V>
com.github.benmanes.caffeine.cache.SISA<K,V>
com.github.benmanes.caffeine.cache.SISAW<K,V>
- All Implemented Interfaces:
LocalCache<K,V>, ConcurrentMap<K, V>, Map<K, V>
- Direct Known Subclasses:
SISAWR
WARNING: GENERATED CODE
A cache that provides the following features:
- ExpireWrite
- StrongKeys (inherited)
- InfirmValues (inherited)
- Stats (inherited)
- ExpireAccess (inherited)
-
Nested Class Summary
Nested classes/interfaces inherited from class BoundedLocalCache
BoundedLocalCache.AddTask, BoundedLocalCache.BoundedLocalAsyncCache<K,V>, 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> Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescription(package private) long(package private) final WriteOrderDeque<Node<K, V>> Fields inherited from class SISA
accessOrderWindowDeque, expiresAfterAccessNanos, expiry, pacer, ticker, timerWheelFields inherited from class SIS
statsCounterFields inherited from class SI
valueReferenceQueueFields inherited from class BoundedLocalCache
accessPolicy, cacheLoader, data, drainBuffersTask, entrySet, evictionLock, executor, EXPIRE_WRITE_TOLERANCE, HILL_CLIMBER_RESTART_THRESHOLD, HILL_CLIMBER_STEP_DECAY_RATE, HILL_CLIMBER_STEP_PERCENT, isAsync, keySet, logger, MAXIMUM_CAPACITY, MAXIMUM_EXPIRY, NCPU, nodeFactory, PERCENT_MAIN, PERCENT_MAIN_PROTECTED, QUEUE_TRANSFER_THRESHOLD, readBuffer, values, weigher, WRITE_BUFFER_MAX, WRITE_BUFFER_MIN, WRITE_BUFFER_RETRIES, writeBuffer, writerFields inherited from class BLCHeader.DrainStatusRef
DRAIN_STATUS_OFFSET, drainStatus, IDLE, PROCESSING_TO_IDLE, PROCESSING_TO_REQUIRED, REQUIREDFields inherited from class BLCHeader.PadDrainStatus
p000, p001, p002, p003, p004, p005, p006, p007, p008, p009, p010, p011, p012, p013, p014, p015, p016, p017, p018, p019, p020, p021, p022, p023, p024, p025, p026, p027, p028, p029, p030, p031, p032, p033, p034, p035, p036, p037, p038, p039, p040, p041, p042, p043, p044, p045, p046, p047, p048, p049, p050, p051, p052, p053, p054, p055, p056, p057, p058, p059, p060, p061, p062, p063, p064, p065, p066, p067, p068, p069, p070, p071, p072, p073, p074, p075, p076, p077, p078, p079, p080, p081, p082, p083, p084, p085, p086, p087, p088, p089, p090, p091, p092, p093, p094, p095, p096, p097, p098, p099, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116, p117, p118, p119 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final booleanReturns if the cache expires entries after an write time threshold.protected final longReturns how long after the last write to an entry the map will retain that entry.protected final voidsetExpiresAfterWriteNanos(long expiresAfterWriteNanos) protected final WriteOrderDeque<Node<K, V>> Methods inherited from class SISA
accessOrderWindowDeque, expirationTicker, expiresAfterAccess, expiresAfterAccessNanos, expiresVariable, expiry, pacer, setExpiresAfterAccessNanos, timerWheelMethods inherited from class SIS
isRecordingStats, statsCounter, statsTickerMethods inherited from class SI
collectValues, valueReferenceQueueMethods inherited from class BoundedLocalCache
accessOrderProbationDeque, accessOrderProtectedDeque, adjustment, admit, afterRead, afterWrite, cleanUp, clear, climb, collectKeys, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, decreaseWindow, demoteFromMainProtected, determineAdjustment, doComputeIfAbsent, drainKeyReferences, drainReadBuffer, drainValueReferences, drainWriteBuffer, entrySet, estimatedSize, evictEntries, evictEntry, evictFromMain, evictFromWindow, evictionOrder, evicts, executor, expireAfterAccessEntries, expireAfterAccessEntries, expireAfterAccessOrder, expireAfterCreate, expireAfterRead, expireAfterUpdate, expireAfterWriteEntries, expireAfterWriteOrder, expireEntries, expireVariableEntries, fastpath, fixedSnapshot, frequencySketch, get, getAllPresent, getIfPresent, getIfPresentQuietly, hasExpired, hasRemovalListener, hasWriter, hasWriteTime, hitsInSample, increaseWindow, isComputingAsync, isEmpty, isWeighted, keyReferenceQueue, keySet, mainProtectedMaximum, mainProtectedWeightedSize, maintenance, makeDead, makeSerializationProxy, maximum, merge, missesInSample, notifyRemoval, onAccess, performCleanUp, previousSampleHitRate, put, put, put, putIfAbsent, refreshAfterWrite, refreshAfterWriteNanos, refreshIfNeeded, remap, removalListener, remove, remove, removeNode, reorder, reorderProbation, replace, replace, replaceAll, sampleCount, scheduleAfterWrite, scheduleDrainBuffers, setAccessTime, setAdjustment, setHitsInSample, setMainProtectedMaximum, setMainProtectedWeightedSize, setMaximum, setMaximumSize, setMissesInSample, setPreviousSampleHitRate, setRefreshAfterWriteNanos, setSampleCount, setStepSize, setVariableTime, setWeightedSize, setWindowMaximum, setWindowWeightedSize, setWriteTime, size, skipReadBuffer, stepSize, tryExpireAfterRead, values, variableSnapshot, weightedSize, windowMaximum, windowWeightedSizeMethods inherited from class BLCHeader.DrainStatusRef
casDrainStatus, drainStatus, lazySetDrainStatus, shouldDrainBuffersMethods inherited from interface ConcurrentMap
forEach, getOrDefaultMethods inherited from interface LocalCache
compute, computeIfAbsent, invalidateAll, statsAware, statsAware, statsAware
-
Field Details
-
writeOrderDeque
-
expiresAfterWriteNanos
volatile long expiresAfterWriteNanos
-
-
Constructor Details
-
SISAW
-
-
Method Details
-
writeOrderDeque
- Overrides:
writeOrderDequein classBoundedLocalCache<K,V>
-
expiresAfterWrite
protected final boolean expiresAfterWrite()Description copied from class:BoundedLocalCacheReturns if the cache expires entries after an write time threshold.- Overrides:
expiresAfterWritein classBoundedLocalCache<K,V>
-
expiresAfterWriteNanos
protected final long expiresAfterWriteNanos()Description copied from class:BoundedLocalCacheReturns how long after the last write to an entry the map will retain that entry.- Overrides:
expiresAfterWriteNanosin classBoundedLocalCache<K,V>
-
setExpiresAfterWriteNanos
protected final void setExpiresAfterWriteNanos(long expiresAfterWriteNanos) - Overrides:
setExpiresAfterWriteNanosin classBoundedLocalCache<K,V>
-