Package | Description |
---|---|
com.sleepycat.db |
Modifier and Type | Field | Description |
---|---|---|
static LockOperation |
LockOperation.GET |
Get the lock defined by the values of the mode and obj fields, for
the specified locker.
|
static LockOperation |
LockOperation.GET_TIMEOUT |
Identical to LockOperation GET except that the value in the timeout
field overrides any previously specified timeout value for this
lock.
|
static LockOperation |
LockOperation.PUT |
The lock to which the lock field refers is released.
|
static LockOperation |
LockOperation.PUT_ALL |
All locks held by the specified locker are released.
|
static LockOperation |
LockOperation.PUT_OBJ |
All locks held on obj are released.
|
static LockOperation |
LockOperation.TIMEOUT |
Cause the specified locker to timeout immediately.
|
Modifier and Type | Method | Description |
---|---|---|
LockOperation |
LockRequest.getOp() |
Return the lock operation.
|
Modifier and Type | Method | Description |
---|---|---|
void |
LockRequest.setOp(LockOperation op) |
Set the operation.
|
Constructor | Description |
---|---|
LockRequest(LockOperation op,
LockRequestMode mode,
DatabaseEntry obj) |
Construct a LockRequest with the specified operation and mode for the
specified object.
|
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.