Berkeley DB: DbEnv.set_lk_max
ee,hash,hashing,transaction,transactions,locking,logging,access method,access me
thods,java,C,C++">
DbEnv.set_lk_max
import com.sleepycat.db.*;
public void set_lk_max(int lk_max);
Description
Set the maximum number of locks to be held or requested in the table.
This value is used by DbLockTab.open to estimate how much space to
allocate for various lock-table data structures.
If no value is specified, a default value is used.
Class
DbEnv
See Also
DbEnv.appinit,
DbEnv.appexit,
DbEnv.version,
DbEnv.get_lg_info,
DbEnv.get_lk_info,
DbEnv.get_mp_info,
DbEnv.get_tx_info,
dbenv_set_data_dir,
DbEnv.set_errcall,
DbEnv.set_error_stream,
DbEnv.set_errpfx,
DbEnv.set_lg_max,
DbEnv.set_lk_conflicts,
DbEnv.set_lk_detect,
DbEnv.set_lk_modes,
DbEnv.set_lorder,
DbEnv.set_mp_mmapsize,
DbEnv.set_mp_size,
DbEnv.set_tx_max,
and
DbEnv.set_verbose.
|