Package | Description |
---|---|
org.exolab.castor.persist |
The Castor persistence engine handles object persistence, object
caching, transaction concurrency and locking.
|
Modifier and Type | Class and Description |
---|---|
class |
ObjectLock
Read/write locks and lock synchronization on an object.
|
Modifier and Type | Method and Description |
---|---|
Identity |
ClassMolder.create(TransactionContext tx,
OID oid,
DepositBox locker,
Object object)
Create an object of the base class with specified identity into the persistence storage.
|
void |
ClassMolder.load(TransactionContext tx,
DepositBox locker,
ProposedEntity proposedObject,
AccessMode accessMode,
QueryResults results)
Loads the field values.
|
void |
ClassMolder.loadTimeStamp(TransactionContext tx,
DepositBox locker,
AccessMode suggestedAccessMode) |
void |
ClassMolder.markCreate(TransactionContext tx,
OID oid,
DepositBox locker,
Object object)
Walk the object model and mark object that should be created.
|
void |
ClassMolder.markDelete(TransactionContext tx,
OID oid,
DepositBox locker,
Object object)
Prepare to delete an object with the specified identity.
|
void |
ClassMolder.mold(TransactionContext tx,
DepositBox locker,
ProposedEntity proposedObject,
AccessMode accessMode) |
boolean |
ClassMolder.preStore(TransactionContext tx,
OID oid,
DepositBox locker,
Object object,
int timeout)
Check the object for modification.
|
void |
ClassMolder.revertObject(TransactionContext tx,
OID oid,
DepositBox locker,
Object object)
Revert the object back to the state of begining of the transaction
If the object is loaded, it will be revert as it was loaded.
|
void |
ClassMolder.store(TransactionContext tx,
OID oid,
DepositBox locker,
Object object)
Store a data object into the persistent storage of the base class of this
ClassMolder.
|
boolean |
ClassMolder.update(TransactionContext tx,
OID oid,
DepositBox locker,
Object object,
AccessMode suggestedAccessMode)
Update the object which loaded or created in the other transaction to the
persistent storage.
|
void |
ClassMolder.updateCache(TransactionContext tx,
OID oid,
DepositBox locker,
Object object)
Update the dirty checking cache.
|
Copyright © 2018. All rights reserved.