public class ThreadLocker extends BasicLocker
defaultNoWait, deleteInfo, envImpl, handleLockToHandleMap, handleToHandleLockMap, id, lockManager, lockTimeOutMillis, readUncommittedDefault, thread| Constructor and Description |
|---|
ThreadLocker(EnvironmentImpl env)
Creates a ThreadLocker.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkState(boolean ignoreCalledByAbort)
Check that this txn is not used in the wrong thread.
|
Locker |
newNonTxnLocker()
Creates a new instance of this txn for the same environment.
|
boolean |
sharesLocksWith(Locker other)
Returns whether this locker can share locks with the given locker.
|
collectStats, createdNode, generateId, getAbortLsn, getOwnerAbortLsn, getTxnLocker, getWriteLockInfo, getWriteOwnerLocker, isReadCommittedIsolation, isSerializableIsolation, isTransactional, markDeleteAtTxnEnd, operationEnd, operationEnd, registerCursor, releaseNonTxnLocks, setHandleLockOwner, unRegisterCursoraddDeleteInfo, addToHandleMaps, demoteLock, dumpLockTable, getDefaultNoWait, getId, getLockTimeout, getTxnTimeOut, isHandleLockTransferrable, isReadUncommittedDefault, isTimedOut, lock, nonBlockingLock, operationEnd, releaseLock, setLockTimeout, setTxnTimeout, toString, transferHandleLockpublic ThreadLocker(EnvironmentImpl env) throws DatabaseException
DatabaseExceptionprotected void checkState(boolean ignoreCalledByAbort)
throws DatabaseException
checkState in class BasicLockerDatabaseExceptionpublic Locker newNonTxnLocker() throws DatabaseException
newNonTxnLocker in class BasicLockerDatabaseExceptionpublic boolean sharesLocksWith(Locker other)
sharesLocksWith in class Locker