|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.groovy.util.AbstractConcurrentMapBase
org.codehaus.groovy.util.AbstractConcurrentMap<K,V>
public abstract class AbstractConcurrentMap<K,V>
| Nested Class Summary | |
|---|---|
protected static interface |
AbstractConcurrentMap.Entry<K,V>
|
protected static class |
AbstractConcurrentMap.Segment<K,V>
|
| Field Summary |
|---|
| Fields inherited from class org.codehaus.groovy.util.AbstractConcurrentMapBase |
|---|
MAX_SEGMENTS, MAXIMUM_CAPACITY, RETRIES_BEFORE_LOCK, segmentMask, segments, segmentShift |
| Constructor Summary | |
|---|---|
AbstractConcurrentMap(java.lang.Object segmentInfo)
|
|
| Method Summary | |
|---|---|
V |
get(K key)
|
AbstractConcurrentMap.Entry<K,V> |
getOrPut(K key,
V value)
|
void |
put(K key,
V value)
|
void |
remove(K key)
|
AbstractConcurrentMap.Segment |
segmentFor(int hash)
|
| Methods inherited from class org.codehaus.groovy.util.AbstractConcurrentMapBase |
|---|
createSegment, fullSize, hash, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractConcurrentMap(java.lang.Object segmentInfo)
| Method Detail |
|---|
public AbstractConcurrentMap.Segment segmentFor(int hash)
segmentFor in class AbstractConcurrentMapBasepublic 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||