Top Inners Fields Constructors Methods
org.codehaus.groovy.util

public abstract Class AbstractConcurrentMap<K, V>

extends AbstractConcurrentMapBase
Class Inheritance
Known Direct Subclasses
org.codehaus.groovy.util.ManagedConcurrentMap

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
public abstract static class

Field Summary

Inherited from org.codehaus.groovy.util.AbstractConcurrentMapBase:
MAX_SEGMENTSMAXIMUM_CAPACITYRETRIES_BEFORE_LOCKsegmentMasksegmentssegmentShift

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public V
get(K key)

public AbstractConcurrentMap.Entry<K, V>
getOrPut(K key, V value)

public void
put(K key, V value)

public void
remove(K key)

public AbstractConcurrentMap.Segment<K, V>
Inherited from org.codehaus.groovy.util.AbstractConcurrentMapBase:
createSegmentfullSizehashsizevalues

Constructor Detail

AbstractConcurrentMapback to summary
public AbstractConcurrentMap(Object segmentInfo)

Method Detail

getback to summary
public V get(K key)
getOrPutback to summary
public AbstractConcurrentMap.Entry<K, V> getOrPut(K key, V value)
putback to summary
public void put(K key, V value)
removeback to summary
public void remove(K key)
segmentForback to summary
public AbstractConcurrentMap.Segment<K, V> segmentFor(int hash)

Overrides org.codehaus.groovy.util.AbstractConcurrentMapBase.segmentFor.

org.codehaus.groovy.util back to summary

public Interface AbstractConcurrentMap.Entry<K, V>

extends AbstractConcurrentMapBase.Entry<V>
Known Direct Implementers
org.codehaus.groovy.util.ManagedConcurrentMap.Entry

Method Summary

Modifier and TypeMethod and Description
public boolean
isEqual(K key, int hash)

Inherited from org.codehaus.groovy.util.AbstractConcurrentMapBase.Entry:
getHashgetValueisValidsetValue

Method Detail

isEqualback to summary
public boolean isEqual(K key, int hash)
org.codehaus.groovy.util back to summary

public abstract Class AbstractConcurrentMap.Segment<K, V>

extends Segment
Class Inheritance
Known Direct Subclasses
org.codehaus.groovy.util.ManagedConcurrentMap.Segment

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from org.codehaus.groovy.util.AbstractConcurrentMapBase.Segment:
counttablethreshold

Constructor Summary

AccessConstructor and Description
protected
Segment(int initialCapacity)

Method Summary

Modifier and TypeMethod and Description
protected abstract AbstractConcurrentMap.Entry<K, V>
createEntry(K key, int hash, V value)

public final V
get(K key, int hash)

public final AbstractConcurrentMap.Entry<K, V>
getOrPut(K key, int hash, V value)

public final AbstractConcurrentMap.Entry<K, V>
put(K key, int hash, V value)

public void
remove(K key, int hash)

Inherited from org.codehaus.groovy.util.AbstractConcurrentMapBase.Segment:
rehashrehashIfThresholdExceededremoveEntrysetTable

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.codehaus.groovy.util.AbstractConcurrentMapBase.Segment.serialVersionUID.

Constructor Detail

Segmentback to summary
protected Segment(int initialCapacity)

Method Detail

createEntryback to summary
protected abstract AbstractConcurrentMap.Entry<K, V> createEntry(K key, int hash, V value)
getback to summary
public final V get(K key, int hash)
getOrPutback to summary
public final AbstractConcurrentMap.Entry<K, V> getOrPut(K key, int hash, V value)
putback to summary
public final AbstractConcurrentMap.Entry<K, V> put(K key, int hash, V value)
removeback to summary
public void remove(K key, int hash)