groovyx.gpars.extra166y
Class CustomConcurrentHashMap.StrongKeySoftValueNode

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

abstract static class CustomConcurrentHashMap.StrongKeySoftValueNode
extends CustomConcurrentHashMap.StrongKeyNode


Field Summary
(package private)  CustomConcurrentHashMap cchm
           
(package private)  CustomConcurrentHashMap.EmbeddedSoftReference valueRef
           
 
Fields inherited from class groovyx.gpars.extra166y.CustomConcurrentHashMap.StrongKeyNode
key, locator
 
Constructor Summary
CustomConcurrentHashMap.StrongKeySoftValueNode(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.EmbeddedSoftReference valueRef

cchm

final CustomConcurrentHashMap cchm
Constructor Detail

CustomConcurrentHashMap.StrongKeySoftValueNode

CustomConcurrentHashMap.StrongKeySoftValueNode(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.