org.codehaus.groovy.util
Class ManagedDoubleKeyMap.Segment<K1,K2,V>

java.lang.Object
  extended by java.util.concurrent.locks.AbstractOwnableSynchronizer
      extended by java.util.concurrent.locks.AbstractQueuedSynchronizer
          extended by org.codehaus.groovy.util.LockableObject
              extended by org.codehaus.groovy.util.AbstractConcurrentMapBase.Segment
                  extended by org.codehaus.groovy.util.AbstractConcurrentDoubleKeyMap.Segment<K1,K2,V>
                      extended by org.codehaus.groovy.util.ManagedDoubleKeyMap.Segment<K1,K2,V>
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ManagedDoubleKeyMap<K1,K2,V>

static class ManagedDoubleKeyMap.Segment<K1,K2,V>
extends AbstractConcurrentDoubleKeyMap.Segment<K1,K2,V>


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.concurrent.locks.AbstractQueuedSynchronizer
java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject
 
Field Summary
private  ReferenceBundle bundle
           
 
Fields inherited from class org.codehaus.groovy.util.AbstractConcurrentMapBase.Segment
count, table, threshold
 
Fields inherited from class org.codehaus.groovy.util.LockableObject
owner
 
Constructor Summary
ManagedDoubleKeyMap.Segment(ReferenceBundle bundle, int cap)
           
 
Method Summary
protected  AbstractConcurrentDoubleKeyMap.Entry<K1,K2,V> createEntry(K1 key1, K2 key2, int hash)
           
 
Methods inherited from class org.codehaus.groovy.util.AbstractConcurrentDoubleKeyMap.Segment
get, getOrPut, put, remove
 
Methods inherited from class org.codehaus.groovy.util.AbstractConcurrentMapBase.Segment
rehash, removeEntry, setTable
 
Methods inherited from class org.codehaus.groovy.util.LockableObject
isHeldExclusively, lock, tryAcquire, tryRelease, unlock
 
Methods inherited from class java.util.concurrent.locks.AbstractQueuedSynchronizer
acquire, acquireInterruptibly, acquireShared, acquireSharedInterruptibly, compareAndSetState, getExclusiveQueuedThreads, getFirstQueuedThread, getQueuedThreads, getQueueLength, getSharedQueuedThreads, getState, getWaitingThreads, getWaitQueueLength, hasContended, hasQueuedThreads, hasWaiters, isQueued, owns, release, releaseShared, setState, toString, tryAcquireNanos, tryAcquireShared, tryAcquireSharedNanos, tryReleaseShared
 
Methods inherited from class java.util.concurrent.locks.AbstractOwnableSynchronizer
getExclusiveOwnerThread, setExclusiveOwnerThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bundle

private ReferenceBundle bundle
Constructor Detail

ManagedDoubleKeyMap.Segment

public ManagedDoubleKeyMap.Segment(ReferenceBundle bundle,
                                   int cap)
Method Detail

createEntry

protected AbstractConcurrentDoubleKeyMap.Entry<K1,K2,V> createEntry(K1 key1,
                                                                    K2 key2,
                                                                    int hash)
Specified by:
createEntry in class AbstractConcurrentDoubleKeyMap.Segment<K1,K2,V>


Copyright © ${year} The Codehaus. All Rights Reserved.