Class ConcurrentLinkedHashMap.UpdateTask
java.lang.Object
ConcurrentLinkedHashMap<K,V>.com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.AbstractTask
ConcurrentLinkedHashMap<K,V>.com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.ReadTask
com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.UpdateTask
- All Implemented Interfaces:
ConcurrentLinkedHashMap.Task,Runnable
- Enclosing class:
ConcurrentLinkedHashMap<K,V>
Updates the weighted size and evicts an entry on overflow.
-
Field Summary
FieldsFields inherited from class com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.ReadTask
nodeFields 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
-
weightDifference
final int weightDifference
-
-
Constructor Details
-
UpdateTask
-
-
Method Details
-
run
public void run() -
isWrite
public boolean isWrite()Description copied from interface:ConcurrentLinkedHashMap.TaskIf the task represents an add, modify, or remove operation.- Specified by:
isWritein interfaceConcurrentLinkedHashMap.Task- Overrides:
isWritein classConcurrentLinkedHashMap<K,V>.ReadTask
-