June 2001
Intermediate to advanced
688 pages
19h 18m
English
import com.sleepycat.db.*; public class DbDeadlockException extends DbException { ... }
This manual page describes the DbDeadlockException class and how it is used by the various Db* classes.
A DbDeadlockException is thrown when multiple threads competing for a lock are deadlocked. One of the threads’ transactions is selected for termination, and a DbDeadlockException is thrown to that thread.
See DbEnv.set_lk_detect for more information.