Package | Description |
---|---|
com.sleepycat.db |
Modifier and Type | Method | Description |
---|---|---|
Lock |
Environment.getLock(int locker,
boolean noWait,
DatabaseEntry object,
LockRequestMode mode) |
Acquire a lock from the lock table returning information about it in the Lock parameter.
|
Lock |
LockNotGrantedException.getLock() |
Returns null when
Environment.getLock was called, and
returns the lock in the failed LockRequest when Environment.lockVector was called. |
Lock |
LockRequest.getLock() |
Return the lock reference.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Environment.putLock(Lock lock) |
Release a lock.
|
void |
LockRequest.setLock(Lock lock) |
Set the lock reference.
|
Constructor | Description |
---|---|
LockRequest(LockOperation op,
LockRequestMode mode,
DatabaseEntry obj,
Lock lock) |
Construct a LockRequest with the specified operation, mode and lock,
for the specified object.
|
LockRequest(LockOperation op,
LockRequestMode mode,
DatabaseEntry obj,
Lock lock,
int timeout) |
Construct a LockRequest with the specified operation, mode, lock and
timeout for the specified object.
|
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.