Uses of Interface
org.apache.commons.transaction.locking.MultiLevelLock

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

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

Subinterfaces of MultiLevelLock in org.apache.commons.transaction.locking
 interface MultiLevelLock2
          Extended multi level lock.
 

Classes in org.apache.commons.transaction.locking that implement MultiLevelLock
 class GenericLock
          A generic implementaion of a simple multi level lock.
 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 ReadWriteUpgradeLockLock.

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 MultiLevelLock
 MultiLevelLock LockManager2.getLock(java.lang.Object resourceId)
          Gets an existing lock on the specified resource.
 MultiLevelLock GenericLockManager.getLock(java.lang.Object resourceId)
           
 MultiLevelLock GenericLockManager.atomicGetOrCreateLock(java.lang.Object resourceId)
           
 MultiLevelLock LockManager.atomicGetOrCreateLock(java.lang.Object resourceId)
          Either gets an existing lock on the specified resource or creates one if none exists.
 MultiLevelLock LockManager.getLock(java.lang.Object resourceId)
          Gets an existing lock on the specified resource.
 

Methods in org.apache.commons.transaction.locking with parameters of type MultiLevelLock
 void LockManager2.removeLock(MultiLevelLock lock)
          Removes the specified lock from the associated resource.
 void GenericLockManager.removeLock(MultiLevelLock lock)
           
 void LockManager.removeLock(MultiLevelLock lock)
          Removes the specified lock from the associated resource.
 



Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.