|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ObjectLock | |
|---|---|
| org.castor.persist | |
| org.exolab.castor.persist | The Castor persistence engine handles object persistence, object caching, transaction concurrency and locking. |
| Uses of ObjectLock in org.castor.persist |
|---|
| Methods in org.castor.persist that return ObjectLock | |
|---|---|
ObjectLock |
TransactionContext.getWaitOnLock()
Returns the lock which this transaction attempts to acquire. |
ObjectLock |
AbstractTransactionContext.getWaitOnLock()
Returns the lock which this transaction attempts to acquire. |
| Methods in org.castor.persist with parameters of type ObjectLock | |
|---|---|
void |
TransactionContext.setWaitOnLock(ObjectLock lock)
Indicates which lock this transaction is waiting for. |
void |
AbstractTransactionContext.setWaitOnLock(ObjectLock lock)
Indicates which lock this transaction is waiting for. |
| Uses of ObjectLock in org.exolab.castor.persist |
|---|
| Methods in org.exolab.castor.persist that return ObjectLock | |
|---|---|
ObjectLock |
TypeInfo.acquire(OID oid,
TransactionContext tx,
LockAction lockAction,
int timeout)
Acquire the object lock for transaction. |
ObjectLock |
TypeInfo.assure(OID oid,
TransactionContext tx,
boolean write)
Reassure the lock which have been successfully acquired by the transaction. |
ObjectLock |
TypeInfo.delete(OID oid,
TransactionContext tx)
Delete the object lock. |
ObjectLock |
TypeInfo.release(OID oid,
TransactionContext tx)
Release the object lock. |
ObjectLock |
TypeInfo.rename(OID orgoid,
OID newoid,
TransactionContext tx)
Move the locked object from one OID to another OID for transaction. |
ObjectLock |
TypeInfo.upgrade(OID oid,
TransactionContext tx,
int timeout)
Upgrade the lock to write lock. |
| Methods in org.exolab.castor.persist with parameters of type ObjectLock | |
|---|---|
void |
ClassMolder.expireCache(TransactionContext tx,
ObjectLock locker)
Inspect the fields stored in the object passed as an argument for contained objects. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||