Interface ConcurrentLinkedHashMap.Task
-
- All Superinterfaces:
java.lang.Runnable
- All Known Implementing Classes:
ConcurrentLinkedHashMap.AbstractTask
,ConcurrentLinkedHashMap.AddTask
,ConcurrentLinkedHashMap.ReadTask
,ConcurrentLinkedHashMap.RemovalTask
,ConcurrentLinkedHashMap.UpdateTask
- Enclosing class:
- ConcurrentLinkedHashMap<K,V>
static interface ConcurrentLinkedHashMap.Task extends java.lang.Runnable
An operation that can be lazily applied to the page replacement policy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConcurrentLinkedHashMap.Task
getNext()
Returns the next task on the link chain.int
getOrder()
The priority order.boolean
isWrite()
If the task represents an add, modify, or remove operation.void
setNext(ConcurrentLinkedHashMap.Task task)
Sets the next task on the link chain.
-
-
-
Method Detail
-
getOrder
int getOrder()
The priority order.
-
isWrite
boolean isWrite()
If the task represents an add, modify, or remove operation.
-
getNext
ConcurrentLinkedHashMap.Task getNext()
Returns the next task on the link chain.
-
setNext
void setNext(ConcurrentLinkedHashMap.Task task)
Sets the next task on the link chain.
-
-