|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 implementain 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 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 MultiLevelLock | |
|---|---|
MultiLevelLock |
GenericLockManager.atomicGetOrCreateLock(Object resourceId)
|
MultiLevelLock |
LockManager.atomicGetOrCreateLock(Object resourceId)
Either gets an existing lock on the specified resource or creates one if none exists. |
MultiLevelLock |
GenericLockManager.getLock(Object resourceId)
|
MultiLevelLock |
LockManager.getLock(Object resourceId)
Gets an existing lock on the specified resource. |
MultiLevelLock |
LockManager2.getLock(Object resourceId)
Gets an existing lock on the specified resource. |
| Methods in org.apache.commons.transaction.locking with parameters of type MultiLevelLock | |
|---|---|
void |
GenericLockManager.removeLock(MultiLevelLock lock)
|
void |
LockManager.removeLock(MultiLevelLock lock)
Removes the specified lock from the associated resource. |
void |
LockManager2.removeLock(MultiLevelLock lock)
Removes the specified lock from the associated resource. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||