1I-Berkeley DB: DbEnv.get_lk_info[P

DbEnv.get_lk_info





import com.sleepycat.db.*;

public DbLockTab get_lk_info();





Description



yGet/set the return value from the DbLockTab.open method, used if lockingCis required for the file being opened (as is the case when multiple2processes or threads are accessing the same file).IIf no value is set, no locking is done by the Berkeley DB access methods.

EIf both locking and transactions are being performed, the transaction!ID will be used as the locker ID.dIf only locking is being performed, Db.open will acquire aqlocker ID from DbLockTab.id and will use it for all locks requiredGfor this instance of Db.open.



Class

3DbEnv



See Also

>DbEnv.appinit,>DbEnv.appexit,>DbEnv.version,FDbEnv.get_lg_info,DbEnv.get_lk_info,FDbEnv.get_mp_info,FDbEnv.get_tx_info,dbenv_set_data_dir,FDbEnv.set_errcall,PDbEnv.set_error_stream,DDbEnv.set_errpfx,DDbEnv.set_lg_max,PDbEnv.set_lk_conflicts,JDbEnv.set_lk_detect,HDbEnv.set_lk_modes,DDbEnv.set_lorder,NDbEnv.set_mp_mmapsize,FDbEnv.set_mp_size,DDbEnv.set_tx_max,andFDbEnv.set_verbose.
ÿÿ