org.apache.derby.impl.services.locks
Class ConcurrentPool

java.lang.Object
  extended by org.apache.derby.impl.services.locks.AbstractPool
      extended by org.apache.derby.impl.services.locks.ConcurrentPool
All Implemented Interfaces:
LockFactory, PropertySetCallback

public final class ConcurrentPool
extends AbstractPool

A LockFactory which allows multiple threads to enter without blocking each other out.


Field Summary
 
Fields inherited from class org.apache.derby.impl.services.locks.AbstractPool
deadlockMonitor, lockTable
 
Constructor Summary
ConcurrentPool()
           
 
Method Summary
protected  LockTable createLockTable()
          Create the ConcurrentLockSet object that keeps the locks.
 
Methods inherited from class org.apache.derby.impl.services.locks.AbstractPool
anyoneBlocked, apply, areLocksHeld, areLocksHeld, clearLimit, createCompatibilitySpace, getWaitTimeout, init, isLockHeld, lockObject, makeVirtualLockTable, map, noLockWait, setLimit, transfer, unlock, unlockGroup, unlockGroup, validate, zeroDurationlockObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentPool

public ConcurrentPool()
Method Detail

createLockTable

protected LockTable createLockTable()
Create the ConcurrentLockSet object that keeps the locks.

Specified by:
createLockTable in class AbstractPool
Returns:
a ConcurrentLockSet

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.