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

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

public final class SinglePool
extends AbstractPool

An implementation of LockFactory that uses a single pool for the locks, i.e. all lock requests go through a single point of synchronisation.
MT - Mutable - Container Object : Thread Aware


Field Summary
 
Fields inherited from class org.apache.derby.impl.services.locks.AbstractPool
deadlockMonitor, lockTable
 
Constructor Summary
SinglePool()
           
 
Method Summary
protected  LockTable createLockTable()
          Create the LockSet 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

SinglePool

public SinglePool()
Method Detail

createLockTable

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

Specified by:
createLockTable in class AbstractPool
Returns:
a LockSet

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

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