static final class CustomConcurrentHashMap.SoftKeyStrongValueNodeFactory extends java.lang.Object implements CustomConcurrentHashMap.NodeFactory, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
CustomConcurrentHashMap.SoftKeyStrongValueNodeFactory() |
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.
|
private static final long serialVersionUID
CustomConcurrentHashMap.SoftKeyStrongValueNodeFactory()
public final CustomConcurrentHashMap.Node newNode(int locator, java.lang.Object key, java.lang.Object value, CustomConcurrentHashMap cchm, CustomConcurrentHashMap.Node linkage)
CustomConcurrentHashMap.NodeFactory
newNode
in interface CustomConcurrentHashMap.NodeFactory
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