Serialized Form


Package com.googlecode.concurrentlinkedhashmap

Class com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap extends AbstractMap<K,V> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws InvalidObjectException
Throws:
InvalidObjectException

writeReplace

private Object writeReplace()
Serialized Fields

data

ConcurrentMap<K,V> data
The backing data store holding the key-value associations.


concurrencyLevel

int concurrencyLevel

segments

int segments
These fields mirror the lock striping on ConcurrentHashMap to order the write operations. This allows the write queue to be consistent.


segmentMask

int segmentMask

segmentShift

int segmentShift

segmentLock

Lock[] segmentLock

weightedSize

int weightedSize
These fields provide support to bound the map by a maximum capacity.


sentinel

com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Node<K,V> sentinel

capacity

int capacity

evictionLock

Lock evictionLock

weigher

Weigher<V> weigher

writeQueue

Queue<E> writeQueue

reorderQueue

Queue<E>[] reorderQueue

reorderQueueLength

AtomicInteger[] reorderQueueLength

listenerQueue

Queue<E> listenerQueue
A listener is notified when an entry is evicted.


listener

EvictionListener<K,V> listener



Copyright © 2010. All Rights Reserved.