Package | Description |
---|---|
org.castor.jdo.engine | |
org.castor.persist | |
org.exolab.castor.jdo |
The Java Data Objects API
|
org.exolab.castor.jdo.oql | |
org.exolab.castor.persist |
The Castor persistence engine handles object persistence, object
caching, transaction concurrency and locking.
|
Modifier and Type | Method and Description |
---|---|
LockEngine |
DatabaseContext.getEngine()
Get the LockEngine only available after initialization.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Connection |
AbstractTransactionContext.createConnection(LockEngine engine) |
protected Connection |
GlobalTransactionContext.createConnection(LockEngine engine) |
protected Connection |
LocalTransactionContext.createConnection(LockEngine engine) |
Connection |
AbstractTransactionContext.getConnection(LockEngine engine)
Return an open connection for the specified engine.
|
Connection |
TransactionContext.getConnection(LockEngine engine)
Return an open connection for the specified engine.
|
DbMetaInfo |
AbstractTransactionContext.getConnectionInfo(LockEngine engine)
Returns meta-data related to the RDBMS used.
|
DbMetaInfo |
TransactionContext.getConnectionInfo(LockEngine engine)
Returns meta-data related to the RDBMS used.
|
Object |
ObjectTracker.getObjectForOID(LockEngine engine,
OID oid,
boolean allowReadOnly)
Retrieve the object for a given OID.
|
boolean |
AbstractTransactionContext.isLocked(Class cls,
Identity identity,
LockEngine lockEngine)
Returns true if the object given is locked.
|
boolean |
TransactionContext.isLocked(Class cls,
Identity identity,
LockEngine lockEngine)
Returns true if the object given is locked.
|
QueryResults |
AbstractTransactionContext.query(LockEngine engine,
PersistenceQuery query,
AccessMode accessMode,
boolean scrollable)
Perform a query using the query mechanism with the specified access mode.
|
QueryResults |
TransactionContext.query(LockEngine engine,
PersistenceQuery query,
AccessMode accessMode,
boolean scrollable)
Perform a query using the query mechanism with the specified access mode.
|
void |
ObjectTracker.removeOIDForObject(LockEngine engine,
OID oid)
For a given lockengine and OID, remove references to an object in the maps.
|
void |
ObjectTracker.setOIDForObject(Object obj,
LockEngine engine,
OID oid)
For a given lockengine and OID, set the object in the maps.
|
void |
ObjectTracker.trackOIDChange(Object obj,
LockEngine engine,
OID oldoid,
OID newoid)
Record changes to an OID by re-tracking the OID information.
|
Constructor and Description |
---|
CacheManager(Database db,
TransactionContext transactionContext,
LockEngine lockEngine)
Creates an instance of this class.
|
Constructor and Description |
---|
ParseTreeWalker(LockEngine dbEngine,
ParseTreeNode parseTree,
ClassLoader classLoader,
DbMetaInfo dbInfo)
Creates a new parse tree walker.
|
Modifier and Type | Method and Description |
---|---|
LockEngine |
PersistenceEngineFactory.createEngine(DatabaseContext databaseContext,
ClassDescriptorResolver cdResolver,
PersistenceFactory persistenceFactory)
Creates and returns a new persistence engine.
|
LockEngine |
FieldMolder.getFieldLockEngine() |
LockEngine |
PersistenceInfoGroup.getLockEngine() |
LockEngine |
ClassMolder.getLockEngine()
Get the LockEngine which this ClassMolder belongs to.
|
Constructor and Description |
---|
PersistenceInfoGroup(LockEngine[] engines) |
QueryResults(TransactionContext tx,
LockEngine engine,
PersistenceQuery query,
AccessMode accessMode,
Database db) |
XAResourceImpl(LockEngine engine,
XAResourceSource xaSource) |
Copyright © 2016. All rights reserved.