Class ConcurrentPool
java.lang.Object
org.apache.derby.impl.services.locks.AbstractPool
org.apache.derby.impl.services.locks.ConcurrentPool
- All Implemented Interfaces:
LockFactory
,PropertySetCallback
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LockTable
Create theConcurrentLockSet
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
-
Constructor Details
-
ConcurrentPool
public ConcurrentPool()
-
-
Method Details
-
createLockTable
Create theConcurrentLockSet
object that keeps the locks.- Specified by:
createLockTable
in classAbstractPool
- Returns:
- a
ConcurrentLockSet
-