groovyx.gpars.extra166y
Interface CustomConcurrentHashMap.NodeFactory

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CustomConcurrentHashMap.IntKeyIntValueNodeFactory, CustomConcurrentHashMap.IntKeySelfValueNodeFactory, CustomConcurrentHashMap.IntKeySoftValueNodeFactory, CustomConcurrentHashMap.IntKeyStrongValueNodeFactory, CustomConcurrentHashMap.IntKeyWeakValueNodeFactory, CustomConcurrentHashMap.SoftKeyIntValueNodeFactory, CustomConcurrentHashMap.SoftKeySelfValueNodeFactory, CustomConcurrentHashMap.SoftKeySoftValueNodeFactory, CustomConcurrentHashMap.SoftKeyStrongValueNodeFactory, CustomConcurrentHashMap.SoftKeyWeakValueNodeFactory, CustomConcurrentHashMap.StrongKeyIntValueNodeFactory, CustomConcurrentHashMap.StrongKeySelfValueNodeFactory, CustomConcurrentHashMap.StrongKeySoftValueNodeFactory, CustomConcurrentHashMap.StrongKeyStrongValueNodeFactory, CustomConcurrentHashMap.StrongKeyWeakValueNodeFactory, CustomConcurrentHashMap.WeakKeyIntValueNodeFactory, CustomConcurrentHashMap.WeakKeySelfValueNodeFactory, CustomConcurrentHashMap.WeakKeySoftValueNodeFactory, CustomConcurrentHashMap.WeakKeyStrongValueNodeFactory, CustomConcurrentHashMap.WeakKeyWeakValueNodeFactory
Enclosing class:
CustomConcurrentHashMap<K,V>

static interface CustomConcurrentHashMap.NodeFactory
extends java.io.Serializable

A factory for Nodes.


Method Summary
 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.
 

Method Detail

newNode

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.

Parameters:
locator - an opaque immutable locator for this node
key - the (non-null) immutable key
value - the (non-null) volatile value
cchm - the table creating this node
linkage - an opaque volatile linkage for maintaining this node

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