Class NodeFactory.WWAMS<K,V>
java.lang.Object
com.github.benmanes.caffeine.cache.NodeFactory.WW<K,V>
com.github.benmanes.caffeine.cache.NodeFactory.WWA<K,V>
com.github.benmanes.caffeine.cache.NodeFactory.WWAMS<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.WWA
ACCESS_TIME_OFFSET
Fields inherited from class com.github.benmanes.caffeine.cache.NodeFactory.WW
KEY_OFFSET, VALUE_OFFSET
-
Constructor Summary
ConstructorsConstructorDescriptionWWAMS
(Object keyReference, V value, ReferenceQueue<V> valueReferenceQueue, int weight, long now) WWAMS
(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.WWA
getAccessTime, getNextInAccessOrder, getPreviousInAccessOrder, setAccessTime, setNextInAccessOrder, setPreviousInAccessOrder
Methods inherited from class com.github.benmanes.caffeine.cache.NodeFactory.WW
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
-
Field Details
-
queueType
private int queueType
-
-
Constructor Details
-
WWAMS
WWAMS(K key, ReferenceQueue<K> keyReferenceQueue, V value, ReferenceQueue<V> valueReferenceQueue, int weight, long now) -
WWAMS
WWAMS(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).
-