org.codehaus.gpars

groovyx.gpars.extra166y
[Java] Interface CustomConcurrentHashMap.NodeFactory


static interface CustomConcurrentHashMap.NodeFactory
extends java.io.Serializable

A factory for Nodes.


Method Summary
Node newNode(int locator, java.lang.Object key, java.lang.Object value, CustomConcurrentHashMap cchm, Node linkage)

Creates and returns a Node using the given parameters.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

newNode

public Node newNode(int locator, java.lang.Object key, java.lang.Object value, CustomConcurrentHashMap cchm, 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.