abstract static class CustomConcurrentHashMap.SoftKeyNode extends java.lang.ref.SoftReference implements CustomConcurrentHashMap.Node
| Modifier and Type | Field and Description |
|---|---|
(package private) CustomConcurrentHashMap |
cchm |
(package private) int |
locator |
| Constructor and Description |
|---|
SoftKeyNode(int locator,
java.lang.Object key,
CustomConcurrentHashMap cchm) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLocator()
Returns the locator established during the creation of this node.
|
void |
onReclamation()
The action taken upon removal of this object
from a ReferenceQueue.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getLinkage, getValue, setLinkage, setValuefinal int locator
final CustomConcurrentHashMap cchm
SoftKeyNode(int locator,
java.lang.Object key,
CustomConcurrentHashMap cchm)
public final int getLocator()
CustomConcurrentHashMap.NodegetLocator in interface CustomConcurrentHashMap.Nodepublic final void onReclamation()
CustomConcurrentHashMap.ReclaimableonReclamation in interface CustomConcurrentHashMap.Reclaimable