|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LockNotGrantedException | |
|---|---|
| org.exolab.castor.persist | The Castor persistence engine handles object persistence, object caching, transaction concurrency and locking. |
| Uses of LockNotGrantedException in org.exolab.castor.persist |
|---|
| Subclasses of LockNotGrantedException in org.exolab.castor.persist | |
|---|---|
class |
ObjectDeletedWaitingForLockException
Thrown to indicate that a lock attempt has failed due to object being deleted by a concurrent transaction. |
| Methods in org.exolab.castor.persist that throw LockNotGrantedException | |
|---|---|
ObjectLock |
TypeInfo.acquire(OID oid,
TransactionContext tx,
LockAction lockAction,
int timeout)
Acquire the object lock for transaction. |
protected void |
ObjectLock.acquireLock(TransactionContext tx,
LockAction action,
int timeout)
The TransactionContext tries to acquire a lock for LockAction. |
ObjectLock |
TypeInfo.rename(OID orgoid,
OID newoid,
TransactionContext tx)
Move the locked object from one OID to another OID for transaction. |
void |
LockEngine.softLock(TransactionContext tx,
OID oid,
int timeout)
Acquire a write lock on the object in memory. |
ObjectLock |
TypeInfo.upgrade(OID oid,
TransactionContext tx,
int timeout)
Upgrade the lock to write lock. |
protected void |
ObjectLock.upgrade(TransactionContext tx,
int timeout)
Acquires a lock on the object on behalf of the specified transaction. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||