public class HandleLocker extends BasicLocker
defaultNoWait, deleteInfo, envImpl, id, lockManager, readUncommittedDefault, thread| Modifier | Constructor and Description |
|---|---|
protected |
HandleLocker(EnvironmentImpl env,
Locker buddy)
Creates a HandleLocker.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowReleaseLockAfterLsnChange()
Because handle lockers are legitimately very long lived, it is important
that lockAfterLsnChange releases the locks on the old LSN, to avoid a
steady accumulation of locks in a HandleLocker
|
static HandleLocker |
createHandleLocker(EnvironmentImpl env,
Locker buddy) |
boolean |
sharesLocksWith(Locker other)
Returns whether this locker can share locks with the given locker.
|
addLock, checkState, collectStats, createBasicLocker, createBasicLocker, createdNode, generateId, getTxnLocker, getWriteLockInfo, getWriteOwnerLocker, isReadCommittedIsolation, isSerializableIsolation, isTransactional, lockingRequired, lockInternal, markDeleteAtTxnEnd, moveWriteToReadLock, newNonTxnLocker, nonTxnOperationEnd, operationEnd, preLogWithoutLock, registerCursor, releaseNonTxnLocks, removeLock, unRegisterCursoraddBuddy, addDeleteInfo, addOpenedDatabase, checkPreempted, close, demoteLock, disallowReplicaWrite, dumpLockTable, getDefaultNoWait, getEnvironment, getId, getImportunate, getInitialLockTimeout, getLockTimeout, getPreemptable, getTransaction, getTxnStartMillis, getTxnTimeout, getWaitingFor, isPreempted, isReadUncommittedDefault, isReplicationDefined, isRolledBack, isTimedOut, isValid, lock, lockAfterLsnChange, nonBlockingLock, openCursorHook, operationEnd, operationEnd, releaseLock, removeBuddy, setAllowMultithreadedAccess, setClosingLocker, setImportunate, setLockTimeout, setOnlyAbortable, setPreemptable, setPreempted, setTxnTimeout, setWaitingFor, throwIfPreempted, toStringprotected HandleLocker(EnvironmentImpl env, Locker buddy)
public static HandleLocker createHandleLocker(EnvironmentImpl env, Locker buddy) throws DatabaseException
DatabaseExceptionpublic boolean sharesLocksWith(Locker other)
sharesLocksWith in class Lockerpublic boolean allowReleaseLockAfterLsnChange()
allowReleaseLockAfterLsnChange in class LockerallowReleaseLockAfterLsnChange()Copyright (c) 2004-2012 Oracle. All rights reserved.