Class ConcurrentLinkedHashMap.AddTask
java.lang.Object
ConcurrentLinkedHashMap<K,V>.com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.AbstractTask
com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.AddTask
- All Implemented Interfaces:
ConcurrentLinkedHashMap.Task
,Runnable
- Enclosing class:
ConcurrentLinkedHashMap<K,
V>
Adds the node to the page replacement policy.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final ConcurrentLinkedHashMap<K,
V>.Node (package private) final int
Fields inherited from class com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.AbstractTask
order, task
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.AbstractTask
getNext, getOrder, setNext
-
Field Details
-
node
-
weight
final int weight
-
-
Constructor Details
-
AddTask
AddTask(ConcurrentLinkedHashMap<K, V>.Node node, int weight)
-
-
Method Details
-
run
public void run() -
isWrite
public boolean isWrite()Description copied from interface:ConcurrentLinkedHashMap.Task
If the task represents an add, modify, or remove operation.
-