Berkeley DB: DbLockTab
Google

ee,hash,hashing,transaction,transactions,locking,logging,access method,access me thods,java,C,C++">

DbLockTab


import com.sleepycat.db.*;

Description

The DbLockTab class is used in conjunction with the DbLock class to provide general-purpose locking. While designed to work with the other Db classes, these classes are also useful for more general locking purposes. Locks can be shared between processes. In most cases, when multiple threads or processes are using locking, the deadlock detector, db_deadlock should be run.

Class

DbLockTab

See Also

DbLockTab.close, DbLockTab.detect, DbLockTab.get, DbLockTab.id, DbLockTab.open, DbLockTab.stat, DbLockTab.unlink and DbLockTab.vec.