abstract static class CustomConcurrentHashMap.WeakKeyNode extends java.lang.ref.WeakReference implements CustomConcurrentHashMap.Node
Modifier and Type | Field and Description |
---|---|
(package private) CustomConcurrentHashMap |
cchm |
(package private) int |
locator |
Constructor and Description |
---|
CustomConcurrentHashMap.WeakKeyNode(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, wait
get, getLinkage, getValue, setLinkage, setValue
final int locator
final CustomConcurrentHashMap cchm
CustomConcurrentHashMap.WeakKeyNode(int locator, java.lang.Object key, CustomConcurrentHashMap cchm)
public final int getLocator()
CustomConcurrentHashMap.Node
getLocator
in interface CustomConcurrentHashMap.Node
public final void onReclamation()
CustomConcurrentHashMap.Reclaimable
onReclamation
in interface CustomConcurrentHashMap.Reclaimable