Class ConcurrentLinkedHashMap.AbstractTask
java.lang.Object
com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.AbstractTask
- All Implemented Interfaces:
ConcurrentLinkedHashMap.Task
,Runnable
- Direct Known Subclasses:
ConcurrentLinkedHashMap.AddTask
,ConcurrentLinkedHashMap.ReadTask
,ConcurrentLinkedHashMap.RemovalTask
- Enclosing class:
ConcurrentLinkedHashMap<K,
V>
abstract class ConcurrentLinkedHashMap.AbstractTask
extends Object
implements ConcurrentLinkedHashMap.Task
A skeletal implementation of the Task interface.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int
(package private) ConcurrentLinkedHashMap.Task
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Task
isWrite
-
Field Details
-
order
final int order -
task
-
-
Constructor Details
-
AbstractTask
AbstractTask()
-
-
Method Details
-
getOrder
public int getOrder()Description copied from interface:ConcurrentLinkedHashMap.Task
The priority order.- Specified by:
getOrder
in interfaceConcurrentLinkedHashMap.Task
-
getNext
Description copied from interface:ConcurrentLinkedHashMap.Task
Returns the next task on the link chain.- Specified by:
getNext
in interfaceConcurrentLinkedHashMap.Task
-
setNext
Description copied from interface:ConcurrentLinkedHashMap.Task
Sets the next task on the link chain.- Specified by:
setNext
in interfaceConcurrentLinkedHashMap.Task
-