public DbLock get(int locker, int flags, Dbt obj, int lock_mode) throws DbException;
The DbLockTab.get method gets a lock, as defined by the values of locker, obj and mode. The locker argument is an unsigned 32-bit integer quantity. It represents the entity requesting or releasing the lock.
The flags value must be set to 0 or the following value:
A reference to the acquired lock is returned. (This reference is invalidated by any call to DbLock.put that releases the lock.)