| Home >> All >> org >> apache >> derby >> iapi >> services >> [ locks Javadoc ] |
org.apache.derby.iapi.services.locks: Javadoc index of package org.apache.derby.iapi.services.locks.
Package Samples:
org.apache.derby.iapi.services.locks
Classes:
Lockable: Any object that needs to be locked must implement Lockable. This allows a generic lock manager that can have locking policies defined on a per-object basis. A request to lock the object takes a qualifier, this qualifier may be used the object to implement a complex locking policy, e.g. traditional database shared, update and exclusive locks. The lock manager uses this ordered protocol to determine if a lock request on a Lockable L with qualifier Q1 in compatiblity space CS1 can be granted: If no locks are held on L in any compatability space then the request is granted. If L.requestCompatible(Q1) ...
VirtualLockTable: This class acts as a conduit of information between the lock manager and the outside world. Once a virtual lock table is initialized, it contains a snap shot of all the locks currently held in the lock manager. A VTI can then be written to query the content of the lock table. Each lock held by the lock manager is represented by a Hashtable. The key to each Hashtable entry is a lock attribute that is of interest to the outside world, such as transaction id, type, mode, etc.
Limit: A limit represents a callback on a lock group. It is called when the size of the group reaches the limit set on the call.
LockFactory: Generic locking of objects. Enables deadlock detection. MT - Mutable - Container Object - Thread Safe
ShExQual: This class is intended to be used a the qualifier class for ShExLockable.
Latch: A Latch represents a latch held in the lock manager.
C_LockFactory: Constants for the LockFactory
ShExLockable
| Home | Contact Us | Privacy Policy | Terms of Service |