Viewing file: dbenv_class.html (3.47 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Berkeley DB: DbEnv
DbEnv
|

|
import com.sleepycat.db.*;
public class DbEnv extends Object
{
public DbEnv(int flags);
...
}
Description
This manual page describes the specific details of the DbEnv
class, which is the center of the Berkeley DB environment.
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_mutexlocks,
DbEnv.set_pageyield,
DbEnv.set_panicstate,
DbEnv.set_recovery_init,
DbEnv.set_rpc_server,
DbEnv.set_region_init,
DbEnv.set_shm_key,
DbEnv.set_tas_spins,
DbEnv.set_tmp_dir,
DbEnv.set_verbose,
and DbEnv.strerror.
Copyright Sleepycat Software
|