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, unRegisterCursor
addDeleteInfo, addToHandleMaps, demoteLock, dumpLockTable, getDefaultNoWait, getId, getLockTimeout, getTxnTimeOut, isHandleLockTransferrable, isReadUncommittedDefault, isTimedOut, lock, nonBlockingLock, operationEnd, releaseLock, setLockTimeout, setTxnTimeout, toString, transferHandleLock
public ThreadLocker(EnvironmentImpl env) throws DatabaseException
DatabaseException
protected void checkState(boolean ignoreCalledByAbort) throws DatabaseException
checkState
in class BasicLocker
DatabaseException
public Locker newNonTxnLocker() throws DatabaseException
newNonTxnLocker
in class BasicLocker
DatabaseException
public boolean sharesLocksWith(Locker other)
sharesLocksWith
in class Locker