head 1.4; access; symbols RPM_4_1:1.1.1.2 RPM_4_0_4:1.1.1.2 RPM_4_0_3:1.1.1.1 RPM:1.1.1; locks; strict; comment @# @; 1.4 date 2003.08.24.12.43.13; author rse; state dead; branches; next 1.3; 1.3 date 2003.08.24.12.33.48; author rse; state Exp; branches; next 1.2; 1.2 date 2003.08.24.12.25.45; author rse; state dead; branches; next 1.1; 1.1 date 2001.07.23.20.45.37; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.07.23.20.45.37; author rse; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2002.01.08.00.30.10; author rse; state Exp; branches; next ; desc @@ 1.4 log @Resolve: RPM 4.1 -> RPM 4.1.1 @ text @ Berkeley DB: DbEnv

DbEnv

APIRef

import com.sleepycat.db.*;

public class DbEnv extends Object { public DbEnv(int flags); ... }

Description

The constructor creates a DbEnv object that is the handle for a Berkeley DB environment. The constructor allocates memory internally; calling the Db.close or Db.remove methods will free that memory.

The following flags value may be specified:

Db.DB_CLIENT
Create a client environment to connect to a server.

The Db.DB_CLIENT flag indicates to the system that this environment is remote on a server. The use of this flag causes the environment methods to use functions that call a server instead of local functions. Prior to making any environment or database method calls, the application must call the DbEnv.set_rpc_server method to establish the connection to the server.

Class

DbEnv

See Also

DbEnv.close, DbEnv.get_version_string, DbEnv.open, DbEnv.remove, DbEnv.set_cachesize, DbEnv.set_data_dir, DbEnv.set_errcall, DbEnv.set_error_stream, DbEnv.set_errpfx, DbEnv.set_feedback, DbEnv.set_flags, DbEnv.set_recovery_init, DbEnv.set_rpc_server, DbEnv.set_shm_key, DbEnv.set_tas_spins, DbEnv.set_tmp_dir, DbEnv.set_timeout, DbEnv.set_verbose, and DbEnv.strerror.

APIRef

Copyright Sleepycat Software @ 1.3 log @Resolve: RPM 4.0.5 -> RPM 4.1 @ text @@ 1.2 log @Resolve: RPM 4.0.4 -> RPM 4.0.5 @ text @d1 1 a1 1 d17 1 a17 1 APIRef d31 5 a35 2

This manual page describes the specific details of the DbEnv class, which is the center of the Berkeley DB environment. a59 3 DbEnv.set_mutexlocks, DbEnv.set_pageyield, DbEnv.set_panicstate, a61 1 DbEnv.set_region_init, d65 1 d70 1 a70 1 APIRef @ 1.1 log @Initial revision @ text @d1 1 a1 1 @ 1.1.1.1 log @Import: RPM 4.0.3 @ text @@ 1.1.1.2 log @Import: RPM 4.0.4 @ text @d1 1 a1 1 d17 1 a17 1 APIRef d31 2 a32 5

The constructor creates a DbEnv object that is the handle for a Berkeley DB environment. The constructor allocates memory internally; calling the Db.close or Db.remove methods will free that memory. d57 3 d62 1 a65 1 DbEnv.set_timeout, d70 1 a70 1 APIRef @