Uses of Class
org.apache.commons.transaction.locking.GenericLock

Packages that use GenericLock
org.apache.commons.transaction.locking   
 

Uses of GenericLock in org.apache.commons.transaction.locking
 

Subclasses of GenericLock in org.apache.commons.transaction.locking
 class ReadWriteLock
          Convenience implementation of a read/write lock based on GenericLock.
 class ReadWriteUpgradeLock
          Convenience implementation of a read/write lock with an option for upgrade based on ReadWriteUpgradeLock.

Reads are shared which means there can be any number of concurrent read accesses allowed by this lock.
 

Methods in org.apache.commons.transaction.locking that return GenericLock
protected  GenericLock GenericLockManager.createLock(Object resourceId)
           
protected  GenericLock ReadWriteLockManager.createLock(Object resourceId)
           
protected  GenericLock ReadWriteUpgradeLockManager.createLock(Object resourceId)
           
 

Methods in org.apache.commons.transaction.locking with parameters of type GenericLock
protected  void GenericLockManager.addOwner(Object ownerId, GenericLock lock)
           
protected  void GenericLockManager.doLock(GenericLock lock, Object ownerId, Object resourceId, int targetLockLevel, int compatibility, boolean preferred, long timeoutMSecs)
           
protected  void GenericLockManager.removeOwner(Object ownerId, GenericLock lock)
           
 



Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.