groovyx.gpars.extra166y
Class CustomConcurrentHashMap.StrongKeyWeakValueNode

java.lang.Object
  extended by groovyx.gpars.extra166y.CustomConcurrentHashMap.StrongKeyNode
      extended by groovyx.gpars.extra166y.CustomConcurrentHashMap.StrongKeyWeakValueNode
All Implemented Interfaces:
CustomConcurrentHashMap.Node, CustomConcurrentHashMap.Reclaimable
Direct Known Subclasses:
CustomConcurrentHashMap.LinkedStrongKeyWeakValueNode, CustomConcurrentHashMap.TerminalStrongKeyWeakValueNode
Enclosing class:
CustomConcurrentHashMap<K,V>

abstract static class CustomConcurrentHashMap.StrongKeyWeakValueNode
extends CustomConcurrentHashMap.StrongKeyNode


Field Summary
(package private)  CustomConcurrentHashMap cchm
           
(package private)  CustomConcurrentHashMap.EmbeddedWeakReference valueRef
           
 
Fields inherited from class groovyx.gpars.extra166y.CustomConcurrentHashMap.StrongKeyNode
key, locator
 
Constructor Summary
CustomConcurrentHashMap.StrongKeyWeakValueNode(int locator, java.lang.Object key, java.lang.Object value, CustomConcurrentHashMap cchm)
           
 
Method Summary
 java.lang.Object getValue()
           
 void onReclamation()
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class groovyx.gpars.extra166y.CustomConcurrentHashMap.StrongKeyNode
get, getLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface groovyx.gpars.extra166y.CustomConcurrentHashMap.Node
getLinkage, setLinkage
 

Field Detail

valueRef

volatile CustomConcurrentHashMap.EmbeddedWeakReference valueRef

cchm

final CustomConcurrentHashMap cchm
Constructor Detail

CustomConcurrentHashMap.StrongKeyWeakValueNode

CustomConcurrentHashMap.StrongKeyWeakValueNode(int locator,
                                               java.lang.Object key,
                                               java.lang.Object value,
                                               CustomConcurrentHashMap cchm)
Method Detail

onReclamation

public final void onReclamation()

getValue

public final java.lang.Object getValue()

setValue

public final void setValue(java.lang.Object value)

Copyright © 2008–2012 Václav Pech. All Rights Reserved.