DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Berkeley DB
version 4.4.20

Uses of Class
com.sleepycat.db.LockDetectMode

Packages that use LockDetectMode
com.sleepycat.db Berkeley DB Java API
[reference guide] [Java programming notes]
 

Uses of LockDetectMode in com.sleepycat.db
 

Fields in com.sleepycat.db declared as LockDetectMode
static LockDetectMode LockDetectMode.NONE
          Turn off deadlock detection.
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.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.
 

Methods in com.sleepycat.db that return LockDetectMode
 LockDetectMode EnvironmentConfig.getLockDetectMode()
          Return true if the deadlock detector is configured to run whenever a lock conflict occurs.
 

Methods in com.sleepycat.db with parameters of type LockDetectMode
 void EnvironmentConfig.setLockDetectMode(LockDetectMode lockDetectMode)
          Configure if the deadlock detector is to be run whenever a lock conflict occurs.
 int Environment.detectDeadlocks(LockDetectMode mode)
          Run one iteration of the deadlock detector.
 


Berkeley DB
version 4.4.20

Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.