Package | Description |
---|---|
com.sleepycat.db |
Modifier and Type | Field and Description |
---|---|
static LockDetectMode |
LockDetectMode.DEFAULT
Use whatever lock policy was specified when the database environment
was created.
|
static LockDetectMode |
LockDetectMode.EXPIRE
Reject lock requests which have timed out.
|
static LockDetectMode |
LockDetectMode.MAXLOCKS
Reject the lock request for the locker ID with the most locks.
|
static LockDetectMode |
LockDetectMode.MAXWRITE
Reject the lock request for the locker ID with the most write locks.
|
static LockDetectMode |
LockDetectMode.MINLOCKS
Reject the lock request for the locker ID with the fewest locks.
|
static LockDetectMode |
LockDetectMode.MINWRITE
Reject the lock request for the locker ID with the fewest write locks.
|
static LockDetectMode |
LockDetectMode.NONE
Turn off deadlock detection.
|
static LockDetectMode |
LockDetectMode.OLDEST
Reject the lock request for the locker ID with the oldest lock.
|
static LockDetectMode |
LockDetectMode.RANDOM
Reject the lock request for a random locker ID.
|
static LockDetectMode |
LockDetectMode.YOUNGEST
Reject the lock request for the locker ID with the youngest lock.
|
Modifier and Type | Method and Description |
---|---|
LockDetectMode |
EnvironmentConfig.getLockDetectMode()
Return true if the deadlock detector is configured to run whenever a lock
conflict occurs.
|
Modifier and Type | Method and Description |
---|---|
int |
Environment.detectDeadlocks(LockDetectMode mode)
Run one iteration of the deadlock detector.
|
void |
EnvironmentConfig.setLockDetectMode(LockDetectMode lockDetectMode)
Configure if the deadlock detector is to be run whenever a lock
conflict occurs.
|
Copyright (c) 1996, 2017 Oracle and/or its affiliates. All rights reserved.