ehcache

net.sf.ehcache.util.concurrent
Class ConcurrentHashMap.Node

java.lang.Object
  extended by net.sf.ehcache.util.concurrent.ConcurrentHashMap.Node
Direct Known Subclasses:
ConcurrentHashMap.TreeNode
Enclosing class:
ConcurrentHashMap<K,V>

protected static class ConcurrentHashMap.Node
extends Object

Key-value entry. Note that this is never exported out as a user-visible Map.Entry (see MapEntry below). Nodes with a hash field of MOVED are special, and do not contain user keys or values. Otherwise, keys are never null, and null val fields indicate that a node is in the process of being deleted or created. For purposes of read-only access, a key may be read before a val, but can only be used after checking val to be non-null.


Constructor Summary
ConcurrentHashMap.Node(int hash, Object key, Object val, ConcurrentHashMap.Node next)
           
ConcurrentHashMap.Node(int hash, Object key, Object val, ConcurrentHashMap.Node next, int size)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentHashMap.Node

public ConcurrentHashMap.Node(int hash,
                              Object key,
                              Object val,
                              ConcurrentHashMap.Node next)

ConcurrentHashMap.Node

public ConcurrentHashMap.Node(int hash,
                              Object key,
                              Object val,
                              ConcurrentHashMap.Node next,
                              int size)

ehcache

Copyright 2001-2017, Terracotta, Inc.