public final class LockDetectMode
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static LockDetectMode |
DEFAULT |
Use whatever lock policy was specified when the database environment
was created.
|
static LockDetectMode |
EXPIRE |
Reject lock requests which have timed out.
|
static LockDetectMode |
MAXLOCKS |
Reject the lock request for the locker ID with the most locks.
|
static LockDetectMode |
MAXWRITE |
Reject the lock request for the locker ID with the most write locks.
|
static LockDetectMode |
MINLOCKS |
Reject the lock request for the locker ID with the fewest locks.
|
static LockDetectMode |
MINWRITE |
Reject the lock request for the locker ID with the fewest write locks.
|
static LockDetectMode |
NONE |
Turn off deadlock detection.
|
static LockDetectMode |
OLDEST |
Reject the lock request for the locker ID with the oldest lock.
|
static LockDetectMode |
RANDOM |
Reject the lock request for a random locker ID.
|
static LockDetectMode |
YOUNGEST |
Reject the lock request for the locker ID with the youngest lock.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
public static final LockDetectMode NONE
public static final LockDetectMode DEFAULT
public static final LockDetectMode EXPIRE
public static final LockDetectMode MAXLOCKS
public static final LockDetectMode MAXWRITE
public static final LockDetectMode MINLOCKS
public static final LockDetectMode MINWRITE
public static final LockDetectMode OLDEST
public static final LockDetectMode RANDOM
public static final LockDetectMode YOUNGEST
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.