Package | Description |
---|---|
org.apache.commons.transaction.locking |
Modifier and Type | Method and Description |
---|---|
void |
GenericLockManager.lock(Object ownerId,
Object resourceId,
int targetLockLevel,
boolean reentrant) |
void |
LockManager2.lock(Object ownerId,
Object resourceId,
int targetLockLevel,
boolean reentrant)
Tries to acquire a lock on a resource.
|
void |
GenericLockManager.lock(Object ownerId,
Object resourceId,
int targetLockLevel,
boolean reentrant,
long timeoutMSecs) |
void |
LockManager2.lock(Object ownerId,
Object resourceId,
int targetLockLevel,
boolean reentrant,
long timeoutMSecs)
Tries to acquire a lock on a resource.
|
void |
GenericLockManager.lock(Object ownerId,
Object resourceId,
int targetLockLevel,
int compatibility,
boolean preferred,
long timeoutMSecs) |
void |
LockManager2.lock(Object ownerId,
Object resourceId,
int targetLockLevel,
int compatibility,
boolean preferred,
long timeoutMSecs)
Most flexible way to acquire a lock on a resource.
|
void |
ReadWriteLockManager.readLock(Object ownerId,
Object resourceId)
Tries to acquire a shared, reentrant read lock on a resource.
|
protected void |
GenericLockManager.timeoutCheck(Object ownerId) |
void |
ReadWriteUpgradeLockManager.upgradeLock(Object ownerId,
Object resourceId)
Tries to acquire a reentrant upgrade lock on a resource.
|
void |
ReadWriteUpgradeLockManager.writeLock(Object ownerId,
Object resourceId)
Tries to acquire an exclusive, reentrant write lock on a resource.
|
void |
ReadWriteLockManager.writeLock(Object ownerId,
Object resourceId)
Tries to acquire an exclusive, reentrant write lock on a resource.
|
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.