|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> store >> [ raw overview ] | PREV NEXT | ||||||||
Uses of Interface
org.apache.derby.iapi.store.raw.Transaction
| Uses of Transaction in org.apache.derby.iapi.store.raw |
| Methods in org.apache.derby.iapi.store.raw that return Transaction | |
Transaction |
RawStoreFactory.startTransaction(org.apache.derby.iapi.services.context.ContextManager contextMgr,
java.lang.String transName)
Create a user transaction, almost all work within the raw store is performed in the context of a transaction. |
Transaction |
RawStoreFactory.startGlobalTransaction(org.apache.derby.iapi.services.context.ContextManager contextMgr,
int format_id,
byte[] global_id,
byte[] local_id)
Create a global user transaction, almost all work within the raw store is performed in the context of a transaction. |
Transaction |
RawStoreFactory.findUserTransaction(org.apache.derby.iapi.services.context.ContextManager contextMgr,
java.lang.String transName)
Find a user transaction in the context manager, which must be the current context manager. |
Transaction |
RawStoreFactory.startInternalTransaction(org.apache.derby.iapi.services.context.ContextManager contextMgr)
Create an internal transaction. |
Transaction |
RawStoreFactory.startNestedReadOnlyUserTransaction(java.lang.Object compatibilitySpace,
org.apache.derby.iapi.services.context.ContextManager contextMgr,
java.lang.String transName)
Create a nested user transaction, almost all work within the raw store is performed in the context of a transaction. |
Transaction |
RawStoreFactory.startNestedUpdateUserTransaction(org.apache.derby.iapi.services.context.ContextManager contextMgr,
java.lang.String transName)
Create a nested user transaction, almost all work within the raw store is performed in the context of a transaction. |
| Methods in org.apache.derby.iapi.store.raw with parameters of type Transaction | |
Compensation |
Undoable.generateUndo(Transaction xact,
org.apache.derby.iapi.services.io.LimitObjectInput in)
Generate a loggable which will undo this change, using the optional input if necessary. |
void |
RePreparable.reclaimPrepareLocks(Transaction t,
LockingPolicy locking_policy)
reclaim locks associated with the changes in this log record. |
void |
Loggable.doMe(Transaction xact,
org.apache.derby.iapi.store.raw.log.LogInstant instant,
org.apache.derby.iapi.services.io.LimitObjectInput in)
Apply the change indicated by this operation and optional data. |
boolean |
Loggable.needsRedo(Transaction xact)
Determine if the operation should be reapplied in recovery redo. |
void |
Loggable.releaseResource(Transaction xact)
Release any resource that was acquired for doMe for rollback or recovery redo. |
boolean |
LockingPolicy.lockContainer(Transaction t,
ContainerHandle container,
boolean waitForLock,
boolean forUpdate)
Called when a container is opened. |
void |
LockingPolicy.unlockContainer(Transaction t,
ContainerHandle container)
Called when a container is closed. |
boolean |
LockingPolicy.lockRecordForRead(Transaction t,
ContainerHandle container,
RecordHandle record,
boolean waitForLock,
boolean forUpdate)
Called before a record is fetched. |
boolean |
LockingPolicy.zeroDurationLockRecordForWrite(Transaction t,
RecordHandle record,
boolean lockForPreviousKey,
boolean waitForLock)
Request a write lock which will be released immediately upon grant. |
boolean |
LockingPolicy.lockRecordForWrite(Transaction t,
RecordHandle record,
boolean lockForInsert,
boolean waitForLock)
Called before a record is inserted, updated or deleted. |
void |
LockingPolicy.unlockRecordAfterRead(Transaction t,
ContainerHandle container,
RecordHandle record,
boolean forUpdate,
boolean row_qualified)
Called after a record has been fetched. |
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> store >> [ raw overview ] | PREV NEXT | ||||||||