Debian Codegraph @

docs/api_reference/CXX/set_timeout_parameter.html

raw symbols SCIP
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>set_timeout</title>
7 <link rel="stylesheet" href="apiReference.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Berkeley DB C++ API Reference" />
10 <link rel="up" href="configuration_reference.html" title="Appendix B. DB_CONFIG Parameter Reference" />
11 <link rel="prev" href="set_thread_count_parameter.html" title="set_thread_count" />
12 <link rel="next" href="set_tmp_dir_parameter.html" title="set_tmp_dir" />
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">set_timeout</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="set_thread_count_parameter.html">Prev</a> </td>
25 <th width="60%" align="center">Appendix B. DB_CONFIG Parameter Reference</th>
26 <td width="20%" align="right"> <a accesskey="n" href="set_tmp_dir_parameter.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="sect1" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title" style="clear: both"><a id="set_timeout_parameter"></a>set_timeout</h2>
36 </div>
37 </div>
38 </div>
39 <p>
40 Sets timeout values for locks or transactions in
41 the database environment, and the wait time for a process to exit the environment when
42 DB_REGISTER recovery is needed.
43 </p>
44 <p>
45 The syntax for setting timeout value for database
46 environment's lock, before recovery is started, and
47 transaction is as follows:
48 </p>
49 <div class="itemizedlist">
50 <ul type="disc">
51 <li>
52 DB_SET_LOCK_TIMEOUT
53 <p>
54 Configures the database environment's lock timeout value.
55 The syntax of the entry in the <a href="../../programmer_reference/env_db_config.html#env_db_config.DB_CONFIG" class="olink">DB_CONFIG</a> file is a single
56 line with the string <code class="literal">set_lock_timeout</code>,
57 one or more whitespace characters, and the lock timeout
58 value.
59 </p></li>
60 <li>
61 DB_SET_REG_TIMEOUT
62 <p>
63 Sets the timeout value on how long to wait for processes to
64 exit the environment before recovery is started. The
65 syntax of the entry in the <a href="../../programmer_reference/env_db_config.html#env_db_config.DB_CONFIG" class="olink">DB_CONFIG</a> file is a single
66 line with the string <code class="literal">set_reg_timeout</code>,
67 one or more whitespace characters, and the wait timeout
68 value.
69 </p></li>
70 <li>
71 DB_SET_TXN_TIMEOUT
72 <p>
73 Sets the timeout value for transactions in this database
74 environment. The syntax of the entry in the <a href="../../programmer_reference/env_db_config.html#env_db_config.DB_CONFIG" class="olink">DB_CONFIG</a>
75 file is a single line with the string
76 <code class="literal">set_txn_timeout</code>, one or more whitespace
77 characters, and the transaction timeout value
78 </p></li>
79 </ul>
80 </div>
81 <p>For more information, see <a class="xref" href="envset_timeout.html" title="DbEnv::set_timeout()">DbEnv::set_timeout()</a>. </p>
82 </div>
83 <div class="navfooter">
84 <hr />
85 <table width="100%" summary="Navigation footer">
86 <tr>
87 <td width="40%" align="left"><a accesskey="p" href="set_thread_count_parameter.html">Prev</a> </td>
88 <td width="20%" align="center">
89 <a accesskey="u" href="configuration_reference.html">Up</a>
90 </td>
91 <td width="40%" align="right"> <a accesskey="n" href="set_tmp_dir_parameter.html">Next</a></td>
92 </tr>
93 <tr>
94 <td width="40%" align="left" valign="top">set_thread_count </td>
95 <td width="20%" align="center">
96 <a accesskey="h" href="index.html">Home</a>
97 </td>
98 <td width="40%" align="right" valign="top"> set_tmp_dir</td>
99 </tr>
100 </table>
101 </div>
102 </body>
103 </html>