The DeadlockPolicy type exposes the following members.
Fields
| Name | Description | |
|---|---|---|
| DEFAULT |
If no DeadlockPolicy has yet been specified, use
RANDOM.
| |
| EXPIRE |
Reject lock requests which have timed out. No other deadlock
detection is performed.
| |
| MAX_LOCKS |
Reject the lock request for the locker ID with the most locks.
| |
| MAX_WRITE |
Reject the lock request for the locker ID with the most write locks.
| |
| MIN_LOCKS |
Reject the lock request for the locker ID with the fewest locks.
| |
| MIN_WRITE |
Reject the lock request for the locker ID with the fewest write
locks.
| |
| OLDEST |
Reject the lock request for the locker ID with the oldest lock.
| |
| RANDOM |
Reject the lock request for a random locker ID.
| |
| YOUNGEST |
Reject the lock request for the locker ID with the youngest lock.
|