Class NodeFactory.WWAWMS<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.WWAW<K,V>
-
- com.github.benmanes.caffeine.cache.NodeFactory.WWAWMS<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.WWAWMS<K,V> extends NodeFactory.WWAW<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description private int
queueType
-
Fields inherited from class com.github.benmanes.caffeine.cache.NodeFactory.WWAW
WRITE_TIME_OFFSET
-
Fields 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
Constructors Constructor Description WWAWMS(java.lang.Object keyReference, V value, java.lang.ref.ReferenceQueue<V> valueReferenceQueue, int weight, long now)
WWAWMS(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 int
getQueueType()
Returns the queue that the entry's resides in (eden, probation, or protected).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.WWAW
getNextInWriteOrder, getPreviousInWriteOrder, getWriteTime, setNextInWriteOrder, setPreviousInWriteOrder, setWriteTime
-
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, getPolicyWeight, getWeight, inEden, inMainProbation, inMainProtected, makeMainProbation, makeMainProtected, setPolicyWeight, setWeight
-
-
-
-
Method Detail
-
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).
-
-