Berkeley DB: DbLock.get_lock_id

DbLock.get_lock_id


import com.sleepycat.db.*;

public native int get_lock_id() throws DbException; public native void set_lock_id(int lockid) throws DbException;

Description

Get/set the underlying representation of the lock ID. Direct manipulation of the underlying representation is not recommended. Rather, DbLockTab.get should be used to initialize locks, and the copy constructor can be used to create new DbLock objects from existing ones.

Class

DbLock

See Also

DbLock.get_lock_id, DbLock.put and DbLock.set_lock_id.