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 AbstractPool
deadlockMonitor, lockTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LockTableCreate theConcurrentLockSetobject that keeps the locks.Methods inherited from class 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 theConcurrentLockSetobject that keeps the locks.- Specified by:
createLockTablein classAbstractPool- Returns:
- a
ConcurrentLockSet
-