Berkeley DB: DbEnv.set_lk_conflicts
Полезная информация

DbEnv.set_lk_conflicts


import com.sleepycat.db.*;

public void set_lk_conflicts(byte lk_conflicts);

Description

Set the locking modes. The set value is a lk_modes by lk_modes array. A non-0 value for the array element:

indicates that requested_mode and held_mode conflict. The not-granted mode must be represented by 0. If lk_conflicts is null, the conflicts array db_rw_conflicts is used; see Standard Lock Modes for a description of that array.

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.