Class NodeFactory.SStAMS<K,V>
- java.lang.Object
-
- com.github.benmanes.caffeine.cache.NodeFactory.SSt<K,V>
-
- com.github.benmanes.caffeine.cache.NodeFactory.SStA<K,V>
-
- com.github.benmanes.caffeine.cache.NodeFactory.SStAMS<K,V>
-
- All Implemented Interfaces:
AccessOrderDeque.AccessOrder<Node<K,V>>,Node<K,V>,WriteOrderDeque.WriteOrder<Node<K,V>>
- Enclosing class:
- NodeFactory
static final class NodeFactory.SStAMS<K,V> extends NodeFactory.SStA<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description private intqueueType-
Fields inherited from class com.github.benmanes.caffeine.cache.NodeFactory.SStA
ACCESS_TIME_OFFSET
-
Fields inherited from class com.github.benmanes.caffeine.cache.NodeFactory.SSt
KEY_OFFSET, VALUE_OFFSET
-
-
Constructor Summary
Constructors Constructor Description SStAMS(java.lang.Object keyReference, V value, java.lang.ref.ReferenceQueue<V> valueReferenceQueue, int weight, long now)SStAMS(K key, java.lang.ref.ReferenceQueue<K> keyReferenceQueue, V value, java.lang.ref.ReferenceQueue<V> valueReferenceQueue, int weight, long now)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetQueueType()Returns the queue that the entry's resides in (eden, probation, or protected).voidsetQueueType(int queueType)Set queue that the entry resides in (eden, probation, or protected).-
Methods inherited from class com.github.benmanes.caffeine.cache.NodeFactory.SStA
getAccessTime, getNextInAccessOrder, getPreviousInAccessOrder, setAccessTime, setNextInAccessOrder, setPreviousInAccessOrder
-
Methods inherited from class com.github.benmanes.caffeine.cache.NodeFactory.SSt
containsValue, die, getKey, getKeyReference, getValue, getValueReference, isAlive, isDead, isRetired, retire, setValue, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.benmanes.caffeine.cache.Node
casWriteTime, getNextInWriteOrder, getPolicyWeight, getPreviousInWriteOrder, getWeight, getWriteTime, inEden, inMainProbation, inMainProtected, makeMainProbation, makeMainProtected, setNextInWriteOrder, setPolicyWeight, setPreviousInWriteOrder, setWeight, setWriteTime
-
-
-
-
Method Detail
-
getQueueType
public final int getQueueType()
Description copied from interface:NodeReturns the queue that the entry's resides in (eden, probation, or protected).
-
setQueueType
public final void setQueueType(int queueType)
Description copied from interface:NodeSet queue that the entry resides in (eden, probation, or protected).
-
-