ACCUMULATED_LIMIT, TXN_NOSYNC, TXN_SYNC, TXN_WRITE_NOSYNC
defaultNoWait, deleteInfo, envImpl, handleLockToHandleMap, handleToHandleLockMap, id, lockManager, lockTimeOutMillis, readUncommittedDefault, thread
Constructor and Description |
---|
AutoTxn(EnvironmentImpl env,
TransactionConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
operationEnd()
AutoTxns abort or commit at the end of the operation
|
void |
operationEnd(boolean operationOK)
AutoTxns abort or commit at the end of the operation
|
void |
setHandleLockOwner(boolean operationOK,
Database dbHandle,
boolean dbIsClosing)
Transfer any handle locks to the db handle on success.
|
abort, abort, addLogInfo, checkState, collectStats, commit, commit, commit, createdNode, dumpLog, generateId, getAbortLsn, getLogSize, getOnlyAbortable, getPrepared, getTransactionId, getTxnLocker, getWriteLockInfo, isHandleLockTransferrable, isReadCommittedIsolation, isSerializableIsolation, isSuspended, isTransactional, markDeleteAtTxnEnd, newNonTxnLocker, prepare, readFromLog, registerCursor, releaseNonTxnLocks, setOnlyAbortable, setPrepared, setSuspended, unRegisterCursor, writeToLog
addDeleteInfo, addToHandleMaps, demoteLock, dumpLockTable, getDefaultNoWait, getId, getLockTimeout, getTxnTimeOut, isReadUncommittedDefault, isTimedOut, lock, nonBlockingLock, operationEnd, releaseLock, setLockTimeout, setTxnTimeout, sharesLocksWith, toString, transferHandleLock
public AutoTxn(EnvironmentImpl env, TransactionConfig config) throws DatabaseException
DatabaseException
public void operationEnd(boolean operationOK) throws DatabaseException
operationEnd
in class Txn
operationOK
- is whether the operation succeeded, since
that may impact ending behavior. (i.e for AutoTxn)DatabaseException
public void operationEnd() throws DatabaseException
operationEnd
in class Txn
DatabaseException
public void setHandleLockOwner(boolean operationOK, Database dbHandle, boolean dbIsClosing) throws DatabaseException
setHandleLockOwner
in class Txn
DatabaseException