Debian Codegraph @

docs/gsg_txn/CXX/preface.html

raw
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>Preface</title>
7 <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Getting Started with Berkeley DB Transaction Processing" />
10 <link rel="up" href="index.html" title="Getting Started with Berkeley DB Transaction Processing" />
11 <link rel="prev" href="index.html" title="Getting Started with Berkeley DB Transaction Processing" />
12 <link rel="next" href="moreinfo.html" title="For More Information" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">Preface</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a> </td>
25 <th width="60%" align="center"> </th>
26 <td width="20%" align="right"> <a accesskey="n" href="moreinfo.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="preface" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title"><a id="preface"></a>Preface</h2>
36 </div>
37 </div>
38 </div>
39 <div class="toc">
40 <p>
41 <b>Table of Contents</b>
42 </p>
43 <dl>
44 <dt>
45 <span class="sect1">
46 <a href="preface.html#conventions">Conventions Used in this Book</a>
47 </span>
48 </dt>
49 <dt>
50 <span class="sect1">
51 <a href="moreinfo.html">For More Information</a>
52 </span>
53 </dt>
54 <dd>
55 <dl>
56 <dt>
57 <span class="sect2">
58 <a href="moreinfo.html#contact_us">Contact Us</a>
59 </span>
60 </dt>
61 </dl>
62 </dd>
63 </dl>
64 </div>
65 <p>
66 This document describes how to use transactions with your Berkeley DB
67 applications. It is intended to describe how to
68 transaction protect your application's data. The APIs used to perform this task
69 are described here, as are the environment infrastructure and administrative tasks
70 required by a transactional application. This book also
71 describes multi-threaded <span>and
72 multi-process</span> DB applications and the requirements they
73 have for deadlock detection.
74 </p>
75 <p>
76 This book describes Berkeley DB 11<span class="emphasis"><em>g</em></span> Release 2, which provides library
77 version 11.2.5.3.
78 </p>
79 <p>
80 This book is aimed at the software engineer responsible for writing a
81 transactional DB application.
82 </p>
83 <p>
84 This book assumes that you have already read and understood the
85 concepts contained in the
86 <span><em class="citetitle">Getting Started with Berkeley DB</em>
87 guide.</span>
88
89
90 </p>
91 <div class="sect1" lang="en" xml:lang="en">
92 <div class="titlepage">
93 <div>
94 <div>
95 <h2 class="title" style="clear: both"><a id="conventions"></a>Conventions Used in this Book</h2>
96 </div>
97 </div>
98 </div>
99 <p>
100 The following typographical conventions are used within in this manual:
101 </p>
102 <p>
103 Class names are represented in <code class="classname">monospaced font</code>, as are <code class="methodname">method
104 names</code>. For example:
105
106
107
108
109
110 <span>"<code class="methodname">DbEnv::open()</code> is a
111 <code class="classname">DbEnv</code> class method."</span>
112 </p>
113 <p>
114 Variable or non-literal text is presented in <span class="emphasis"><em>italics</em></span>. For example: "Go to your
115 <span class="emphasis"><em>DB_INSTALL</em></span> directory."
116 </p>
117 <p>
118 Program examples are displayed in a <code class="classname">monospaced font</code> on a shaded background.
119 For example:
120 </p>
121 <pre class="programlisting">typedef struct vendor {
122 char name[MAXFIELD]; // Vendor name
123 char street[MAXFIELD]; // Street name and number
124 char city[MAXFIELD]; // City
125 char state[3]; // Two-digit US state code
126 char zipcode[6]; // US zipcode
127 char phone_number[13]; // Vendor phone number
128 } VENDOR; </pre>
129 <p>
130 In some situations, programming examples are updated from one chapter to the next. When
131 this occurs, the new code is presented in <strong class="userinput"><code>monospaced bold</code></strong> font. For example:
132 </p>
133 <pre class="programlisting">typedef struct vendor {
134 char name[MAXFIELD]; // Vendor name
135 char street[MAXFIELD]; // Street name and number
136 char city[MAXFIELD]; // City
137 char state[3]; // Two-digit US state code
138 char zipcode[6]; // US zipcode
139 char phone_number[13]; // Vendor phone number
140 <strong class="userinput"><code>char sales_rep[MAXFIELD]; // Name of sales representative
141 char sales_rep_phone[MAXFIELD]; // Sales rep's phone number </code></strong>
142 } VENDOR; </pre>
143 <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
144 <h3 class="title">Note</h3>
145 <p>
146 Finally, notes of special interest are represented using a note block such
147 as this.
148 </p>
149 </div>
150 </div>
151 </div>
152 <div class="navfooter">
153 <hr />
154 <table width="100%" summary="Navigation footer">
155 <tr>
156 <td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a> </td>
157 <td width="20%" align="center"> </td>
158 <td width="40%" align="right"> <a accesskey="n" href="moreinfo.html">Next</a></td>
159 </tr>
160 <tr>
161 <td width="40%" align="left" valign="top">Getting Started with Berkeley DB Transaction Processing </td>
162 <td width="20%" align="center">
163 <a accesskey="h" href="index.html">Home</a>
164 </td>
165 <td width="40%" align="right" valign="top"> For More Information</td>
166 </tr>
167 </table>
168 </div>
169 </body>
170 </html>