static interface CustomConcurrentHashMap.NodeFactory
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
CustomConcurrentHashMap.Node |
newNode(int locator,
java.lang.Object key,
java.lang.Object value,
CustomConcurrentHashMap cchm,
CustomConcurrentHashMap.Node linkage)
Creates and returns a Node using the given parameters.
|
CustomConcurrentHashMap.Node newNode(int locator, java.lang.Object key, java.lang.Object value, CustomConcurrentHashMap cchm, CustomConcurrentHashMap.Node linkage)
locator
- an opaque immutable locator for this nodekey
- the (non-null) immutable keyvalue
- the (non-null) volatile valuecchm
- the table creating this nodelinkage
- an opaque volatile linkage for maintaining this node