Class NodeFactory.SSoAWRMS<K,V>
java.lang.Object
com.github.benmanes.caffeine.cache.NodeFactory.SSo<K,V>
com.github.benmanes.caffeine.cache.NodeFactory.SSoA<K,V>
com.github.benmanes.caffeine.cache.NodeFactory.SSoAW<K,V>
com.github.benmanes.caffeine.cache.NodeFactory.SSoAWR<K,V>
com.github.benmanes.caffeine.cache.NodeFactory.SSoAWRMS<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.SSoAW
WRITE_TIME_OFFSET
Fields inherited from class com.github.benmanes.caffeine.cache.NodeFactory.SSoA
ACCESS_TIME_OFFSET
Fields inherited from class com.github.benmanes.caffeine.cache.NodeFactory.SSo
KEY_OFFSET, VALUE_OFFSET
-
Constructor Summary
ConstructorsConstructorDescriptionSSoAWRMS
(Object keyReference, V value, ReferenceQueue<V> valueReferenceQueue, int weight, long now) SSoAWRMS
(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.SSoAWR
casWriteTime
Methods inherited from class com.github.benmanes.caffeine.cache.NodeFactory.SSoAW
getNextInWriteOrder, getPreviousInWriteOrder, getWriteTime, setNextInWriteOrder, setPreviousInWriteOrder, setWriteTime
Methods inherited from class com.github.benmanes.caffeine.cache.NodeFactory.SSoA
getAccessTime, getNextInAccessOrder, getPreviousInAccessOrder, setAccessTime, setNextInAccessOrder, setPreviousInAccessOrder
Methods inherited from class com.github.benmanes.caffeine.cache.NodeFactory.SSo
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
getPolicyWeight, getWeight, inEden, inMainProbation, inMainProtected, makeMainProbation, makeMainProtected, setPolicyWeight, setWeight
-
Field Details
-
queueType
private int queueType
-
-
Constructor Details
-
SSoAWRMS
SSoAWRMS(K key, ReferenceQueue<K> keyReferenceQueue, V value, ReferenceQueue<V> valueReferenceQueue, int weight, long now) -
SSoAWRMS
SSoAWRMS(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).
-