Class NodeFactory.WStAWMS<K,V>
java.lang.Object
com.github.benmanes.caffeine.cache.NodeFactory.WSt<K,V>
com.github.benmanes.caffeine.cache.NodeFactory.WStA<K,V>
com.github.benmanes.caffeine.cache.NodeFactory.WStAW<K,V>
com.github.benmanes.caffeine.cache.NodeFactory.WStAWMS<K,V>
- All Implemented Interfaces:
AccessOrderDeque.AccessOrder<Node<K,
,V>> Node<K,
,V> WriteOrderDeque.WriteOrder<Node<K,
V>>
- Enclosing class:
- NodeFactory
-
Field Summary
FieldsFields inherited from class com.github.benmanes.caffeine.cache.NodeFactory.WStAW
WRITE_TIME_OFFSET
Fields inherited from class com.github.benmanes.caffeine.cache.NodeFactory.WStA
ACCESS_TIME_OFFSET
Fields inherited from class com.github.benmanes.caffeine.cache.NodeFactory.WSt
KEY_OFFSET, VALUE_OFFSET
-
Constructor Summary
ConstructorsConstructorDescriptionWStAWMS
(Object keyReference, V value, ReferenceQueue<V> valueReferenceQueue, int weight, long now) WStAWMS
(K key, ReferenceQueue<K> keyReferenceQueue, V value, ReferenceQueue<V> valueReferenceQueue, int weight, long now) -
Method Summary
Modifier and TypeMethodDescriptionfinal int
Returns the queue that the entry's resides in (eden, probation, or protected).final void
setQueueType
(int queueType) Set queue that the entry resides in (eden, probation, or protected).Methods inherited from class com.github.benmanes.caffeine.cache.NodeFactory.WStAW
getNextInWriteOrder, getPreviousInWriteOrder, getWriteTime, setNextInWriteOrder, setPreviousInWriteOrder, setWriteTime
Methods inherited from class com.github.benmanes.caffeine.cache.NodeFactory.WStA
getAccessTime, getNextInAccessOrder, getPreviousInAccessOrder, setAccessTime, setNextInAccessOrder, setPreviousInAccessOrder
Methods inherited from class com.github.benmanes.caffeine.cache.NodeFactory.WSt
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, getPolicyWeight, getWeight, inEden, inMainProbation, inMainProtected, makeMainProbation, makeMainProtected, setPolicyWeight, setWeight
-
Field Details
-
queueType
private int queueType
-
-
Constructor Details
-
WStAWMS
WStAWMS(K key, ReferenceQueue<K> keyReferenceQueue, V value, ReferenceQueue<V> valueReferenceQueue, int weight, long now) -
WStAWMS
WStAWMS(Object keyReference, V value, ReferenceQueue<V> valueReferenceQueue, int weight, long now)
-
-
Method Details
-
getQueueType
public final int getQueueType()Description copied from interface:Node
Returns the queue that the entry's resides in (eden, probation, or protected). -
setQueueType
public final void setQueueType(int queueType) Description copied from interface:Node
Set queue that the entry resides in (eden, probation, or protected).
-