| Package | Description |
|---|---|
| com.sleepycat.je.txn |
INTERNAL: Transaction management and locking (concurrency control).
|
| Modifier and Type | Field and Description |
|---|---|
LockGrantType |
LockAttemptResult.lockGrant |
| Modifier and Type | Method and Description |
|---|---|
LockGrantType |
LockResult.getLockGrant() |
LockGrantType |
LockManager.lock(long lsn,
Locker locker,
LockType type,
long timeout,
boolean nonBlockingRequest,
boolean jumpAheadOfWaiters,
DatabaseImpl database)
Attempt to acquire a lock of 'type' on 'lsn'.
|
static LockGrantType |
LockGrantType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockGrantType[] |
LockGrantType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Txn.addLock(Long lsn,
LockType type,
LockGrantType grantStatus)
Add lock to the appropriate queue.
|
protected void |
BasicLocker.addLock(Long lsn,
LockType type,
LockGrantType grantStatus)
Add a lock to set owned by this transaction.
|
protected abstract void |
Locker.addLock(Long lsn,
LockType type,
LockGrantType grantStatus)
Add a lock to set owned by this transaction.
|
| Constructor and Description |
|---|
LockResult(LockGrantType grant,
WriteLockInfo wli) |
Copyright © 2024. All rights reserved.