-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathclasscom_1_1wiredtiger_1_1db_1_1_connection.html
621 lines (604 loc) · 47.8 KB
/
classcom_1_1wiredtiger_1_1db_1_1_connection.html
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>WiredTiger: com.wiredtiger.db.Connection Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="wiredtiger.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><a href="http://wiredtiger.com/"><img alt="Logo" src="LogoFinal-header.png" alt="WiredTiger" /></a></td>
<td style="padding-left: 0.5em;">
<div id="projectname">
 <span id="projectnumber">Version 2.9.2</span>
</div>
<div id="projectbrief"><!-- 2.9.2 --></div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="banner">
<a href="https://github.com/wiredtiger/wiredtiger">Fork me on GitHub</a>
<a class="last" href="http://groups.google.com/group/wiredtiger-users">Join my user group</a>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li><a href="community.html"><span>Community</span></a></li>
<li><a href="license.html"><span>License</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classcom_1_1wiredtiger_1_1db_1_1_connection.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="classcom_1_1wiredtiger_1_1db_1_1_connection-members.html">List of all members</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="#pro-static-methods">Static Protected Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> </div>
<div class="headertitle">
<div class="title">com.wiredtiger.db.Connection Class Reference<div class="ingroups"><a class="el" href="group__wt__java.html">WiredTiger Java API</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>A connection to a WiredTiger database.
<a href="classcom_1_1wiredtiger_1_1db_1_1_connection.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0e8af34ebdff2b71b682095ed085cebe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e8af34ebdff2b71b682095ed085cebe"></a>
synchronized void </td><td class="memItemRight" valign="bottom"><b>delete</b> ()</td></tr>
<tr class="separator:a0e8af34ebdff2b71b682095ed085cebe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6ca4a22fe3c729d68cd56c5abb047498"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_connection.html#a6ca4a22fe3c729d68cd56c5abb047498">async_flush</a> () throws com.wiredtiger.db.WiredTigerException </td></tr>
<tr class="memdesc:a6ca4a22fe3c729d68cd56c5abb047498"><td class="mdescLeft"> </td><td class="mdescRight">Wait for all outstanding operations to complete. <a href="#a6ca4a22fe3c729d68cd56c5abb047498">More...</a><br /></td></tr>
<tr class="separator:a6ca4a22fe3c729d68cd56c5abb047498"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2458441ed6301620ef4db71f3ef5c47c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_connection.html#a2458441ed6301620ef4db71f3ef5c47c">close</a> (String config) throws com.wiredtiger.db.WiredTigerException </td></tr>
<tr class="memdesc:a2458441ed6301620ef4db71f3ef5c47c"><td class="mdescLeft"> </td><td class="mdescRight">Close a connection. <a href="#a2458441ed6301620ef4db71f3ef5c47c">More...</a><br /></td></tr>
<tr class="separator:a2458441ed6301620ef4db71f3ef5c47c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5e67d007427eb9a0b1c749b8c85468e2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_connection.html#a5e67d007427eb9a0b1c749b8c85468e2">reconfigure</a> (String config) throws com.wiredtiger.db.WiredTigerException </td></tr>
<tr class="memdesc:a5e67d007427eb9a0b1c749b8c85468e2"><td class="mdescLeft"> </td><td class="mdescRight">Reconfigure a connection handle. <a href="#a5e67d007427eb9a0b1c749b8c85468e2">More...</a><br /></td></tr>
<tr class="separator:a5e67d007427eb9a0b1c749b8c85468e2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad52f0d0c36bcedfa2214f233f3ee020a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad52f0d0c36bcedfa2214f233f3ee020a"></a>
String </td><td class="memItemRight" valign="bottom"><b>get_home</b> ()</td></tr>
<tr class="separator:ad52f0d0c36bcedfa2214f233f3ee020a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1b9848afb4bfe4b790579490e6e2263c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_connection.html#a1b9848afb4bfe4b790579490e6e2263c">configure_method</a> (String method, String uri, String config, String type, String check) throws com.wiredtiger.db.WiredTigerException </td></tr>
<tr class="memdesc:a1b9848afb4bfe4b790579490e6e2263c"><td class="mdescLeft"> </td><td class="mdescRight">Add configuration options for a method. <a href="#a1b9848afb4bfe4b790579490e6e2263c">More...</a><br /></td></tr>
<tr class="separator:a1b9848afb4bfe4b790579490e6e2263c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7ba72791fba4a03984c0d9b8faca1284"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_connection.html#a7ba72791fba4a03984c0d9b8faca1284">is_new</a> ()</td></tr>
<tr class="memdesc:a7ba72791fba4a03984c0d9b8faca1284"><td class="mdescLeft"> </td><td class="mdescRight">Return if opening this handle created the database. <a href="#a7ba72791fba4a03984c0d9b8faca1284">More...</a><br /></td></tr>
<tr class="separator:a7ba72791fba4a03984c0d9b8faca1284"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1c404c400a9873926810241ad0997a4a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_connection.html#a1c404c400a9873926810241ad0997a4a">load_extension</a> (String path, String config) throws com.wiredtiger.db.WiredTigerException </td></tr>
<tr class="memdesc:a1c404c400a9873926810241ad0997a4a"><td class="mdescLeft"> </td><td class="mdescRight">Load an extension. <a href="#a1c404c400a9873926810241ad0997a4a">More...</a><br /></td></tr>
<tr class="separator:a1c404c400a9873926810241ad0997a4a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a76c8444703541803fab4bc54606136ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_async_op.html">AsyncOp</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_connection.html#a76c8444703541803fab4bc54606136ed">async_new_op</a> (String uri, String config, Object callbackObject) throws com.wiredtiger.db.WiredTigerException </td></tr>
<tr class="memdesc:a76c8444703541803fab4bc54606136ed"><td class="mdescLeft"> </td><td class="mdescRight">Return an async operation handle. <a href="#a76c8444703541803fab4bc54606136ed">More...</a><br /></td></tr>
<tr class="separator:a76c8444703541803fab4bc54606136ed"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad03cfc01de34342ab8c76934accb8745"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_session.html">Session</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_connection.html#ad03cfc01de34342ab8c76934accb8745">open_session</a> (String config) throws com.wiredtiger.db.WiredTigerException </td></tr>
<tr class="memdesc:ad03cfc01de34342ab8c76934accb8745"><td class="mdescLeft"> </td><td class="mdescRight">Open a session. <a href="#ad03cfc01de34342ab8c76934accb8745">More...</a><br /></td></tr>
<tr class="separator:ad03cfc01de34342ab8c76934accb8745"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a9f3713033d9e9a1a84f4670da907c55d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f3713033d9e9a1a84f4670da907c55d"></a>
 </td><td class="memItemRight" valign="bottom"><b>Connection</b> (long cPtr, boolean cMemoryOwn)</td></tr>
<tr class="separator:a9f3713033d9e9a1a84f4670da907c55d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aad6794c4baf107e2d0a735c80f9c8e52"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aad6794c4baf107e2d0a735c80f9c8e52"></a>
int </td><td class="memItemRight" valign="bottom"><b>_java_init</b> (Object jsess)</td></tr>
<tr class="separator:aad6794c4baf107e2d0a735c80f9c8e52"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr class="memitem:a055a464bffca581f3389e168200dd8a8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a055a464bffca581f3389e168200dd8a8"></a>
static long </td><td class="memItemRight" valign="bottom"><b>getCPtr</b> (<a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_connection.html">Connection</a> obj)</td></tr>
<tr class="separator:a055a464bffca581f3389e168200dd8a8"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a31658ee0e58784dd785b7226b1309476"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a31658ee0e58784dd785b7226b1309476"></a>
boolean </td><td class="memItemRight" valign="bottom"><b>swigCMemOwn</b></td></tr>
<tr class="separator:a31658ee0e58784dd785b7226b1309476"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A connection to a WiredTiger database. </p>
<p>The connection may be opened within the same address space as the caller or accessed over a socket connection.</p>
<p>Most applications will open a single connection to a database for each process. The first process to open a connection to a database will access the database in its own address space. Subsequent connections (if allowed) will communicate with the first process over a socket connection to perform their operations.</p>
<p><b>Thread safety:</b> A <a class="el" href="struct_w_t___c_o_n_n_e_c_t_i_o_n.html" title="A connection to a WiredTiger database. ">WT_CONNECTION</a> handle may be shared between threads, see <a class="el" href="threads.html">Multithreading</a> for more information. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a6ca4a22fe3c729d68cd56c5abb047498"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int com.wiredtiger.db.Connection.async_flush </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> throws <a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_wired_tiger_exception.html">com.wiredtiger.db.WiredTigerException</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Wait for all outstanding operations to complete. </p>
<div class="fragment"><div class="line"> <span class="comment">/* Wait for all outstanding operations to complete. */</span></div>
<div class="line"> ret = conn->async_flush(conn);</div>
</div><!-- fragment --> <dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">connection</td><td>the connection handle </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success and a non-zero error code on failure. See <a class="el" href="group__wt.html#error_returns">Error Returns</a> for details. </dd></dl>
</div>
</div>
<a class="anchor" id="a76c8444703541803fab4bc54606136ed"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_async_op.html">AsyncOp</a> com.wiredtiger.db.Connection.async_new_op </td>
<td>(</td>
<td class="paramtype">String </td>
<td class="paramname"><em>uri</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String </td>
<td class="paramname"><em>config</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Object </td>
<td class="paramname"><em>callbackObject</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> throws <a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_wired_tiger_exception.html">com.wiredtiger.db.WiredTigerException</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return an async operation handle. </p>
<div class="fragment"><div class="line"> <span class="keywordflow">while</span> ((ret = conn->async_new_op(conn,</div>
<div class="line"> <span class="stringliteral">"table:async"</span>, NULL, &ex_asynckeys.iface, &op)) != 0) {</div>
<div class="line"> <span class="comment">/*</span></div>
<div class="line"><span class="comment"> * If we used up all the handles, pause and retry to</span></div>
<div class="line"><span class="comment"> * give the workers a chance to catch up.</span></div>
<div class="line"><span class="comment"> */</span></div>
<div class="line"> fprintf(stderr,</div>
<div class="line"> <span class="stringliteral">"asynchronous operation handle not available\n"</span>);</div>
<div class="line"> <span class="keywordflow">if</span> (ret == EBUSY)</div>
<div class="line"> sleep(1);</div>
<div class="line"> <span class="keywordflow">else</span></div>
<div class="line"> <span class="keywordflow">return</span> (EXIT_FAILURE);</div>
<div class="line"> }</div>
</div><!-- fragment --> <dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir"></td><td class="paramname">connection</td><td>the connection handle </td></tr>
<tr><td class="paramdir"></td><td class="paramname">uri</td><td>the connection handle </td></tr>
<tr><td class="paramdir"></td><td class="paramname">config</td><td>Configuration string, see <a class="el" href="config_strings.html">Configuration Strings</a>. Permitted values: <table class="doxtable">
<tr>
<th>Name</th><th>Effect</th><th>Values </th></tr>
<tr>
<td><code>append</code></td><td>append the value as a new record, creating a new record number key; valid only for operations with record number keys.</td><td>a boolean flag; default <code>false</code>. </td></tr>
<tr>
<td><code>overwrite</code></td><td>configures whether the cursor's insert, update and remove methods check the existing state of the record. If <code>overwrite</code> is <code>false</code>, <a class="el" href="struct_w_t___c_u_r_s_o_r.html#aac90d9fbcc031570f924db55f8a1cee3" title="Insert a record and optionally update an existing record. ">WT_CURSOR::insert</a> fails with <a class="el" href="group__wt.html#gaeca1f3c4a70b8b71b56d2c2fc99a469c" title="Attempt to insert an existing key. ">WT_DUPLICATE_KEY</a> if the record exists, <a class="el" href="struct_w_t___c_u_r_s_o_r.html#a444cdc0952e7f8d55d23173516c7037f" title="Update an existing record and optionally insert a record. ">WT_CURSOR::update</a> and <a class="el" href="struct_w_t___c_u_r_s_o_r.html#abbba24fe607fee519c4c9c4669cd4455" title="Remove a record. ">WT_CURSOR::remove</a> fail with <a class="el" href="group__wt.html#ga3c9e1b494d95cf34404ab7a974af6bf8" title="Item not found. ">WT_NOTFOUND</a> if the record does not exist.</td><td>a boolean flag; default <code>true</code>. </td></tr>
<tr>
<td><code>raw</code></td><td>ignore the encodings for the key and value, manage data as if the formats were <code>"u"</code>. See <a class="el" href="cursors.html#cursor_raw">Raw mode</a> for details.</td><td>a boolean flag; default <code>false</code>. </td></tr>
<tr>
<td><code>timeout</code></td><td>maximum amount of time to allow for compact in seconds. The actual amount of time spent in compact may exceed the configured value. A value of zero disables the timeout.</td><td>an integer; default <code>1200</code>. </td></tr>
</table>
</td></tr>
<tr><td class="paramdir"></td><td class="paramname">callback</td><td>the operation callback </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">asyncopp</td><td>the new op handle </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success and a non-zero error code on failure. See <a class="el" href="group__wt.html#error_returns">Error Returns</a> for details. If there are no available handles, <code>EBUSY</code> is returned. </dd></dl>
</div>
</div>
<a class="anchor" id="a2458441ed6301620ef4db71f3ef5c47c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int com.wiredtiger.db.Connection.close </td>
<td>(</td>
<td class="paramtype">String </td>
<td class="paramname"><em>config</em></td><td>)</td>
<td> throws <a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_wired_tiger_exception.html">com.wiredtiger.db.WiredTigerException</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Close a connection. </p>
<p>Any open sessions will be closed.</p>
<div class="fragment"><div class="line"> ret = conn->close(conn, NULL);</div>
</div><!-- fragment --> <dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">connection</td><td>the connection handle </td></tr>
<tr><td class="paramname">config</td><td>Configuration string, see <a class="el" href="config_strings.html">Configuration Strings</a>. Permitted values: <table class="doxtable">
<tr>
<th>Name</th><th>Effect</th><th>Values </th></tr>
<tr>
<td><code>leak_memory</code></td><td>don't free memory during close.</td><td>a boolean flag; default <code>false</code>. </td></tr>
</table>
</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success and a non-zero error code on failure. See <a class="el" href="group__wt.html#error_returns">Error Returns</a> for details. </dd></dl>
</div>
</div>
<a class="anchor" id="a1b9848afb4bfe4b790579490e6e2263c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int com.wiredtiger.db.Connection.configure_method </td>
<td>(</td>
<td class="paramtype">String </td>
<td class="paramname"><em>method</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String </td>
<td class="paramname"><em>uri</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String </td>
<td class="paramname"><em>config</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String </td>
<td class="paramname"><em>check</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> throws <a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_wired_tiger_exception.html">com.wiredtiger.db.WiredTigerException</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add configuration options for a method. </p>
<p>See <a class="el" href="custom_data_sources.html#custom_ds_config_add">Creating data-specific configuration strings</a> for more information.</p>
<div class="fragment"><div class="line"> <span class="comment">/*</span></div>
<div class="line"><span class="comment"> * Applications opening a cursor for the data-source object "my_data"</span></div>
<div class="line"><span class="comment"> * have an additional configuration option "entries", which is an</span></div>
<div class="line"><span class="comment"> * integer type, defaults to 5, and must be an integer between 1 and 10.</span></div>
<div class="line"><span class="comment"> *</span></div>
<div class="line"><span class="comment"> * The method being configured is specified using a concatenation of the</span></div>
<div class="line"><span class="comment"> * handle name, a period and the method name.</span></div>
<div class="line"><span class="comment"> */</span></div>
<div class="line"> ret = conn->configure_method(conn,</div>
<div class="line"> <span class="stringliteral">"WT_SESSION.open_cursor"</span>,</div>
<div class="line"> <span class="stringliteral">"my_data:"</span>, <span class="stringliteral">"entries=5"</span>, <span class="stringliteral">"int"</span>, <span class="stringliteral">"min=1,max=10"</span>);</div>
<div class="line"></div>
<div class="line"> <span class="comment">/*</span></div>
<div class="line"><span class="comment"> * Applications opening a cursor for the data-source object "my_data"</span></div>
<div class="line"><span class="comment"> * have an additional configuration option "devices", which is a list</span></div>
<div class="line"><span class="comment"> * of strings.</span></div>
<div class="line"><span class="comment"> */</span></div>
<div class="line"> ret = conn->configure_method(conn,</div>
<div class="line"> <span class="stringliteral">"WT_SESSION.open_cursor"</span>, <span class="stringliteral">"my_data:"</span>, <span class="stringliteral">"devices"</span>, <span class="stringliteral">"list"</span>, NULL);</div>
</div><!-- fragment --> <dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">connection</td><td>the connection handle </td></tr>
<tr><td class="paramname">method</td><td>the method being configured </td></tr>
<tr><td class="paramname">uri</td><td>the object type or NULL for all object types </td></tr>
<tr><td class="paramname">config</td><td>the additional configuration's name and default value </td></tr>
<tr><td class="paramname">type</td><td>the additional configuration's type (must be one of <code>"boolean"\</code>, <code>"int"</code>, <code>"list"</code> or <code>"string"</code>) </td></tr>
<tr><td class="paramname">check</td><td>the additional configuration check string, or NULL if none </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success and a non-zero error code on failure. See <a class="el" href="group__wt.html#error_returns">Error Returns</a> for details. </dd></dl>
</div>
</div>
<a class="anchor" id="a7ba72791fba4a03984c0d9b8faca1284"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int com.wiredtiger.db.Connection.is_new </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return if opening this handle created the database. </p>
<div class="fragment"><div class="line"> <span class="keywordflow">if</span> (conn->is_new(conn)) {</div>
<div class="line"> <span class="comment">/* First time initialization. */</span></div>
<div class="line"> }</div>
</div><!-- fragment --> <dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">connection</td><td>the connection handle </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>false (zero) if the connection existed before the call to <a class="el" href="group__wt.html#ga9e6adae3fc6964ef837a62795c7840ed" title="Open a connection to a database. ">wiredtiger_open</a>, true (non-zero) if it was created by opening this handle. </dd></dl>
</div>
</div>
<a class="anchor" id="a1c404c400a9873926810241ad0997a4a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int com.wiredtiger.db.Connection.load_extension </td>
<td>(</td>
<td class="paramtype">String </td>
<td class="paramname"><em>path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String </td>
<td class="paramname"><em>config</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> throws <a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_wired_tiger_exception.html">com.wiredtiger.db.WiredTigerException</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Load an extension. </p>
<div class="fragment"><div class="line"> ret = conn->load_extension(conn, <span class="stringliteral">"my_extension.dll"</span>, NULL);</div>
<div class="line"></div>
<div class="line"> ret = conn->load_extension(conn,</div>
<div class="line"> <span class="stringliteral">"datasource/libdatasource.so"</span>,</div>
<div class="line"> <span class="stringliteral">"config=[device=/dev/sd1,alignment=64]"</span>);</div>
</div><!-- fragment --> <dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">connection</td><td>the connection handle </td></tr>
<tr><td class="paramname">path</td><td>the filename of the extension module, or <code>"local"</code> to search the current application binary for the initialization function, see <a class="el" href="extensions.html">Extending WiredTiger</a> for more details. </td></tr>
<tr><td class="paramname">config</td><td>Configuration string, see <a class="el" href="config_strings.html">Configuration Strings</a>. Permitted values: <table class="doxtable">
<tr>
<th>Name</th><th>Effect</th><th>Values </th></tr>
<tr>
<td><code>config</code></td><td>configuration string passed to the entry point of the extension as its WT_CONFIG_ARG argument.</td><td>a string; default empty. </td></tr>
<tr>
<td><code>early_load</code></td><td>whether this extension should be loaded at the beginning of <a class="el" href="group__wt.html#ga9e6adae3fc6964ef837a62795c7840ed" title="Open a connection to a database. ">wiredtiger_open</a>. Only applicable to extensions loaded via the wiredtiger_open configurations string.</td><td>a boolean flag; default <code>false</code>. </td></tr>
<tr>
<td><code>entry</code></td><td>the entry point of the extension, called to initialize the extension when it is loaded. The signature of the function must match <a class="el" href="group__wt__ext.html#ga5ed14c916d5dcfe0e81aea9d9ccb7fe3" title="Entry point to an extension, called when the extension is loaded. ">wiredtiger_extension_init</a>.</td><td>a string; default <code>wiredtiger_extension_init</code>. </td></tr>
<tr>
<td><code>terminate</code></td><td>an optional function in the extension that is called before the extension is unloaded during <a class="el" href="struct_w_t___c_o_n_n_e_c_t_i_o_n.html#af535c517df851eeac8ebf3594d40b545" title="Close a connection. ">WT_CONNECTION::close</a>. The signature of the function must match <a class="el" href="group__wt__ext.html#ga3b904ac0bedaa0d1d59d04baaf915f7f" title="Optional cleanup function for an extension, called during WT_CONNECTION::close. ">wiredtiger_extension_terminate</a>.</td><td>a string; default <code>wiredtiger_extension_terminate</code>. </td></tr>
</table>
</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success and a non-zero error code on failure. See <a class="el" href="group__wt.html#error_returns">Error Returns</a> for details. </dd></dl>
</div>
</div>
<a class="anchor" id="ad03cfc01de34342ab8c76934accb8745"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_session.html">Session</a> com.wiredtiger.db.Connection.open_session </td>
<td>(</td>
<td class="paramtype">String </td>
<td class="paramname"><em>config</em></td><td>)</td>
<td> throws <a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_wired_tiger_exception.html">com.wiredtiger.db.WiredTigerException</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Open a session. </p>
<div class="fragment"><div class="line"> <a class="code" href="struct_w_t___s_e_s_s_i_o_n.html">WT_SESSION</a> *session;</div>
<div class="line"> ret = conn->open_session(conn, NULL, NULL, &session);</div>
</div><!-- fragment --> <dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir"></td><td class="paramname">connection</td><td>the connection handle </td></tr>
<tr><td class="paramdir"></td><td class="paramname">errhandler</td><td>An error handler. If <code>NULL</code>, the connection's error handler is used. See <a class="el" href="error_handling.html#error_handling_event">Error handling using the WT_EVENT_HANDLER</a> for more information. </td></tr>
<tr><td class="paramdir"></td><td class="paramname">config</td><td>Configuration string, see <a class="el" href="config_strings.html">Configuration Strings</a>. Permitted values: <table class="doxtable">
<tr>
<th>Name</th><th>Effect</th><th>Values </th></tr>
<tr>
<td><code>ignore_cache_size</code></td><td>when set, operations performed by this session ignore the cache size and are not blocked when the cache is full. Note that use of this option for operations that create cache pressure can starve ordinary sessions that obey the cache size.</td><td>a boolean flag; default <code>false</code>. </td></tr>
<tr>
<td><code>isolation</code></td><td>the default isolation level for operations in this session.</td><td>a string, chosen from the following options: <code>"read-uncommitted"</code>, <code>"read-committed"</code>, <code>"snapshot"</code>; default <code>read-committed</code>. </td></tr>
</table>
</td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">sessionp</td><td>the new session handle </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success and a non-zero error code on failure. See <a class="el" href="group__wt.html#error_returns">Error Returns</a> for details. </dd></dl>
</div>
</div>
<a class="anchor" id="a5e67d007427eb9a0b1c749b8c85468e2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int com.wiredtiger.db.Connection.reconfigure </td>
<td>(</td>
<td class="paramtype">String </td>
<td class="paramname"><em>config</em></td><td>)</td>
<td> throws <a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_wired_tiger_exception.html">com.wiredtiger.db.WiredTigerException</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reconfigure a connection handle. </p>
<div class="fragment"><div class="line"> ret = conn->reconfigure(conn, <span class="stringliteral">"eviction_target=75"</span>);</div>
</div><!-- fragment --> <dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">connection</td><td>the connection handle </td></tr>
<tr><td class="paramname">config</td><td>Configuration string, see <a class="el" href="config_strings.html">Configuration Strings</a>. Permitted values: <table class="doxtable">
<tr>
<th>Name</th><th>Effect</th><th>Values </th></tr>
<tr>
<td><code>async = (</code></td><td>asynchronous operations configuration options.</td><td>a set of related configuration options defined below. </td></tr>
<tr>
<td><code>    enabled</code></td><td>enable asynchronous operation.</td><td>a boolean flag; default <code>false</code>. </td></tr>
<tr>
<td><code>    ops_max</code></td><td>maximum number of expected simultaneous asynchronous operations.</td><td>an integer between 1 and 4096; default <code>1024</code>. </td></tr>
<tr>
<td><code>    threads</code></td><td>the number of worker threads to service asynchronous requests. Each worker thread uses a session from the configured session_max.</td><td>an integer between 1 and 20; default <code>2</code>. </td></tr>
<tr>
<td><code> )</code></td><td></td><td></td></tr>
<tr>
<td><code>cache_overhead</code></td><td>assume the heap allocator overhead is the specified percentage, and adjust the cache usage by that amount (for example, if there is 10GB of data in cache, a percentage of 10 means WiredTiger treats this as 11GB). This value is configurable because different heap allocators have different overhead and different workloads will have different heap allocation sizes and patterns, therefore applications may need to adjust this value based on allocator choice and behavior in measured workloads.</td><td>an integer between 0 and 30; default <code>8</code>. </td></tr>
<tr>
<td><code>cache_size</code></td><td>maximum heap memory to allocate for the cache. A database should configure either <code>cache_size</code> or <code>shared_cache</code> but not both.</td><td>an integer between 1MB and 10TB; default <code>100MB</code>. </td></tr>
<tr>
<td><code>checkpoint = (</code></td><td>periodically checkpoint the database. Enabling the checkpoint server uses a session from the configured session_max.</td><td>a set of related configuration options defined below. </td></tr>
<tr>
<td><code>    log_size</code></td><td>wait for this amount of log record bytes to be written to the log between each checkpoint. If non-zero, this value will use a minimum of the log file size. A database can configure both log_size and wait to set an upper bound for checkpoints; setting this value above 0 configures periodic checkpoints.</td><td>an integer between 0 and 2GB; default <code>0</code>. </td></tr>
<tr>
<td><code>    wait</code></td><td>seconds to wait between each checkpoint; setting this value above 0 configures periodic checkpoints.</td><td>an integer between 0 and 100000; default <code>0</code>. </td></tr>
<tr>
<td><code> )</code></td><td></td><td></td></tr>
<tr>
<td><code>error_prefix</code></td><td>prefix string for error messages.</td><td>a string; default empty. </td></tr>
<tr>
<td><code>eviction = (</code></td><td>eviction configuration options.</td><td>a set of related configuration options defined below. </td></tr>
<tr>
<td><code>    threads_max</code></td><td>maximum number of threads WiredTiger will start to help evict pages from cache. The number of threads started will vary depending on the current eviction load. Each eviction worker thread uses a session from the configured session_max.</td><td>an integer between 1 and 20; default <code>8</code>. </td></tr>
<tr>
<td><code>    threads_min</code></td><td>minimum number of threads WiredTiger will start to help evict pages from cache. The number of threads currently running will vary depending on the current eviction load.</td><td>an integer between 1 and 20; default <code>1</code>. </td></tr>
<tr>
<td><code> )</code></td><td></td><td></td></tr>
<tr>
<td><code>eviction_checkpoint_target</code></td><td>perform eviction at the beginning of checkpoints to bring the dirty content in cache to this level, expressed as a percentage of the total cache size. Ignored if set to zero or <code>in_memory</code> is <code>true</code>.</td><td>an integer between 0 and 99; default <code>5</code>. </td></tr>
<tr>
<td><code>eviction_dirty_target</code></td><td>perform eviction in worker threads when the cache contains at least this much dirty content, expressed as a percentage of the total cache size.</td><td>an integer between 1 and 99; default <code>5</code>. </td></tr>
<tr>
<td><code>eviction_dirty_trigger</code></td><td>trigger application threads to perform eviction when the cache contains at least this much dirty content, expressed as a percentage of the total cache size. This setting only alters behavior if it is lower than eviction_trigger.</td><td>an integer between 1 and 99; default <code>20</code>. </td></tr>
<tr>
<td><code>eviction_target</code></td><td>perform eviction in worker threads when the cache contains at least this much content, expressed as a percentage of the total cache size. Must be less than <code>eviction_trigger</code>.</td><td>an integer between 10 and 99; default <code>80</code>. </td></tr>
<tr>
<td><code>eviction_trigger</code></td><td>trigger application threads to perform eviction when the cache contains at least this much content, expressed as a percentage of the total cache size.</td><td>an integer between 10 and 99; default <code>95</code>. </td></tr>
<tr>
<td><code>file_manager = (</code></td><td>control how file handles are managed.</td><td>a set of related configuration options defined below. </td></tr>
<tr>
<td><code>    close_handle_minimum</code></td><td>number of handles open before the file manager will look for handles to close.</td><td>an integer greater than or equal to 0; default <code>250</code>. </td></tr>
<tr>
<td><code>    close_idle_time</code></td><td>amount of time in seconds a file handle needs to be idle before attempting to close it. A setting of 0 means that idle handles are not closed.</td><td>an integer between 0 and 100000; default <code>30</code>. </td></tr>
<tr>
<td><code>    close_scan_interval</code></td><td>interval in seconds at which to check for files that are inactive and close them.</td><td>an integer between 1 and 100000; default <code>10</code>. </td></tr>
<tr>
<td><code> )</code></td><td></td><td></td></tr>
<tr>
<td><code>log = (</code></td><td>enable logging. Enabling logging uses three sessions from the configured session_max.</td><td>a set of related configuration options defined below. </td></tr>
<tr>
<td><code>    archive</code></td><td>automatically archive unneeded log files.</td><td>a boolean flag; default <code>true</code>. </td></tr>
<tr>
<td><code>    prealloc</code></td><td>pre-allocate log files.</td><td>a boolean flag; default <code>true</code>. </td></tr>
<tr>
<td><code>    zero_fill</code></td><td>manually write zeroes into log files.</td><td>a boolean flag; default <code>false</code>. </td></tr>
<tr>
<td><code> )</code></td><td></td><td></td></tr>
<tr>
<td><code>lsm_manager = (</code></td><td>configure database wide options for LSM tree management. The LSM manager is started automatically the first time an LSM tree is opened. The LSM manager uses a session from the configured session_max.</td><td>a set of related configuration options defined below. </td></tr>
<tr>
<td><code>    merge</code></td><td>merge LSM chunks where possible.</td><td>a boolean flag; default <code>true</code>. </td></tr>
<tr>
<td><code>    worker_thread_max</code></td><td>Configure a set of threads to manage merging LSM trees in the database. Each worker thread uses a session handle from the configured session_max.</td><td>an integer between 3 and 20; default <code>4</code>. </td></tr>
<tr>
<td><code> )</code></td><td></td><td></td></tr>
<tr>
<td><code>shared_cache = (</code></td><td>shared cache configuration options. A database should configure either a cache_size or a shared_cache not both. Enabling a shared cache uses a session from the configured session_max.</td><td>a set of related configuration options defined below. </td></tr>
<tr>
<td><code>    chunk</code></td><td>the granularity that a shared cache is redistributed.</td><td>an integer between 1MB and 10TB; default <code>10MB</code>. </td></tr>
<tr>
<td><code>    name</code></td><td>the name of a cache that is shared between databases or <code>"none"</code> when no shared cache is configured.</td><td>a string; default <code>none</code>. </td></tr>
<tr>
<td><code>    quota</code></td><td>maximum size of cache this database can be allocated from the shared cache. Defaults to the entire shared cache size.</td><td>an integer; default <code>0</code>. </td></tr>
<tr>
<td><code>    reserve</code></td><td>amount of cache this database is guaranteed to have available from the shared cache. This setting is per database. Defaults to the chunk size.</td><td>an integer; default <code>0</code>. </td></tr>
<tr>
<td><code>    size</code></td><td>maximum memory to allocate for the shared cache. Setting this will update the value if one is already set.</td><td>an integer between 1MB and 10TB; default <code>500MB</code>. </td></tr>
<tr>
<td><code> )</code></td><td></td><td></td></tr>
<tr>
<td><code>statistics</code></td><td>Maintain database statistics, which may impact performance. Choosing "all" maintains all statistics regardless of cost, "fast" maintains a subset of statistics that are relatively inexpensive, "none" turns off all statistics. The "clear" configuration resets statistics after they are gathered, where appropriate (for example, a cache size statistic is not cleared, while the count of cursor insert operations will be cleared). When "clear" is configured for the database, gathered statistics are reset each time a statistics cursor is used to gather statistics, as well as each time statistics are logged using the <code>statistics_log</code> configuration. See <a class="el" href="statistics.html">Statistics</a> for more information.</td><td>a list, with values chosen from the following options: <code>"all"</code>, <code>"cache_walk"</code>, <code>"fast"</code>, <code>"none"</code>, <code>"clear"</code>, <code>"tree_walk"</code>; default <code>none</code>. </td></tr>
<tr>
<td><code>statistics_log = (</code></td><td>log any statistics the database is configured to maintain, to a file. See <a class="el" href="statistics.html">Statistics</a> for more information. Enabling the statistics log server uses a session from the configured session_max.</td><td>a set of related configuration options defined below. </td></tr>
<tr>
<td><code>    json</code></td><td>encode statistics in JSON format.</td><td>a boolean flag; default <code>false</code>. </td></tr>
<tr>
<td><code>    on_close</code></td><td>log statistics on database close.</td><td>a boolean flag; default <code>false</code>. </td></tr>
<tr>
<td><code>    sources</code></td><td>if non-empty, include statistics for the list of data source URIs, if they are open at the time of the statistics logging. The list may include URIs matching a single data source ("table:mytable"), or a URI matching all data sources of a particular type ("table:").</td><td>a list of strings; default empty. </td></tr>
<tr>
<td><code>    timestamp</code></td><td>a timestamp prepended to each log record, may contain strftime conversion specifications, when <code>json</code> is configured, defaults to <code>"%FT%Y.000Z"</code>.</td><td>a string; default <code>"%b %d %H:%M:%S"</code>. </td></tr>
<tr>
<td><code>    wait</code></td><td>seconds to wait between each write of the log records; setting this value above 0 configures statistics logging.</td><td>an integer between 0 and 100000; default <code>0</code>. </td></tr>
<tr>
<td><code> )</code></td><td></td><td></td></tr>
<tr>
<td><code>verbose</code></td><td>enable messages for various events. Only available if WiredTiger is configured with –enable-verbose. Options are given as a list, such as <code>"verbose=[evictserver,read]"</code>.</td><td>a list, with values chosen from the following options: <code>"api"</code>, <code>"block"</code>, <code>"checkpoint"</code>, <code>"compact"</code>, <code>"evict"</code>, <code>"evict_stuck"</code>, <code>"evictserver"</code>, <code>"fileops"</code>, <code>"handleops"</code>, <code>"log"</code>, <code>"lsm"</code>, <code>"lsm_manager"</code>, <code>"metadata"</code>, <code>"mutex"</code>, <code>"overflow"</code>, <code>"read"</code>, <code>"rebalance"</code>, <code>"reconcile"</code>, <code>"recovery"</code>, <code>"recovery_progress"</code>, <code>"salvage"</code>, <code>"shared_cache"</code>, <code>"split"</code>, <code>"temporary"</code>, <code>"thread_group"</code>, <code>"transaction"</code>, <code>"verify"</code>, <code>"version"</code>, <code>"write"</code>; default empty. </td></tr>
</table>
</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>zero on success and a non-zero error code on failure. See <a class="el" href="group__wt.html#error_returns">Error Returns</a> for details. </dd></dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>com</b></li><li class="navelem"><b>wiredtiger</b></li><li class="navelem"><b>db</b></li><li class="navelem"><a class="el" href="classcom_1_1wiredtiger_1_1db_1_1_connection.html">Connection</a></li>
<li class="footer">Copyright (c) 2008-2016 MongoDB, Inc. All rights reserved. Contact <a href="mailto:[email protected]">[email protected]</a> for more information.</li>
</ul>
</div>
</body>
</html>