File: class.html

package info (click to toggle)
db 2%3A2.4.14-2.7.7.1.c
  • links: PTS
  • area: main
  • in suites: potato
  • size: 12,716 kB
  • ctags: 9,382
  • sloc: ansic: 35,556; tcl: 8,564; cpp: 4,890; sh: 2,075; makefile: 1,723; java: 1,632; sed: 419; awk: 153; asm: 41
file content (71 lines) | stat: -rw-r--r-- 3,188 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<! "@(#)class.so	10.4 (Sleepycat) 10/2/98">
<!Copyright 1997, 1998 by Sleepycat Software, Inc.  All rights reserved.>
<html>
<body bgcolor=white>
<head>
<title>Berkeley DB: DbEnv</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btr
ee,hash,hashing,transaction,transactions,locking,logging,access method,access me
thods,java,C,C++">
</head>
<h1>DbEnv</h1>
<hr size=1 noshade>
<tt>
<h3>
<pre>
import com.sleepycat.db.*;
<p>
</pre>
</h3>
<h1>Description</h1>
<p>
This manual page describes the specific details of the DbEnv class.
The DbEnv class provides simple access to an underlying data
structure, whose elements can be examined or changed using the
<b>set_</b> or <b>get_</b> methods.
The manual pages sometimes refer to these accesses using the underlying
name, e.g., simply <b>lorder</b> instead of <b>get_lorder</b> and
<b>set_lorder</b>.
<p>
The constructors set all elements of the underlying structure to zero.
The constructor with three arguments has the effect of calling
<a href="../../api_java/DbEnv/appinit.html">DbEnv.appinit</a> immediately to initialize the application with
default parameters.
To delay the initialization, use the default constructor.
The various <b>set_</b> methods can then be used to initialize the
DbEnv, and finally, a call to <a href="../../api_java/DbEnv/appinit.html">DbEnv.appinit</a> should be made
to initialize Berkeley DB.
<p>
Once the Berkeley DB environment has been initialized by a call to
<a href="../../api_java/DbEnv/appinit.html">DbEnv.appinit</a> no set methods other than
<a href="../../api_java/DbEnv/set_errpfx.html">DbEnv.set_errpfx</a> should be called.
<p>
<h1>Class</h1>
DbEnv
<p>
<h1>See Also</h1>
<a href="../../api_java/DbEnv/appinit.html">DbEnv.appinit</a>,
<a href="../../api_java/DbEnv/appexit.html">DbEnv.appexit</a>,
<a href="../../api_java/DbEnv/version.html">DbEnv.version</a>,
<a href="../../api_java/DbEnv/get_lg_info.html">DbEnv.get_lg_info</a>,
<a href="../../api_java/DbEnv/get_lk_info.html">DbEnv.get_lk_info</a>,
<a href="../../api_java/DbEnv/get_mp_info.html">DbEnv.get_mp_info</a>,
<a href="../../api_java/DbEnv/get_tx_info.html">DbEnv.get_tx_info</a>,
dbenv_set_data_dir,
<a href="../../api_java/DbEnv/set_errcall.html">DbEnv.set_errcall</a>,
<a href="../../api_java/DbEnv/set_error_stream.html">DbEnv.set_error_stream</a>,
<a href="../../api_java/DbEnv/set_errpfx.html">DbEnv.set_errpfx</a>,
<a href="../../api_java/DbEnv/set_lg_max.html">DbEnv.set_lg_max</a>,
<a href="../../api_java/DbEnv/set_lk_conflicts.html">DbEnv.set_lk_conflicts</a>,
<a href="../../api_java/DbEnv/set_lk_detect.html">DbEnv.set_lk_detect</a>,
<a href="../../api_java/DbEnv/set_lk_modes.html">DbEnv.set_lk_modes</a>,
<a href="../../api_java/DbEnv/set_lorder.html">DbEnv.set_lorder</a>,
<a href="../../api_java/DbEnv/set_mp_mmapsize.html">DbEnv.set_mp_mmapsize</a>,
<a href="../../api_java/DbEnv/set_mp_size.html">DbEnv.set_mp_size</a>,
<a href="../../api_java/DbEnv/set_tx_max.html">DbEnv.set_tx_max</a>,
and
<a href="../../api_java/DbEnv/set_verbose.html">DbEnv.set_verbose</a>.
</tt>
</body>
</html>