| 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>DbSequence::stat_print()</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="seq.html" title="Chapter 12. The DbSequence Handle" /> |
| 11 | <link rel="prev" href="seqstat.html" title="DbSequence::stat()" /> |
| 12 | <link rel="next" href="txn.html" title="Chapter 13. The DbTxn Handle" /> |
| 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">DbSequence::stat_print()</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="seqstat.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Chapter 12. |
| 26 | The DbSequence Handle |
| 27 | </th> |
| 28 | <td width="20%" align="right"> <a accesskey="n" href="txn.html">Next</a></td> |
| 29 | </tr> |
| 30 | </table> |
| 31 | <hr /> |
| 32 | </div> |
| 33 | <div class="sect1" lang="en" xml:lang="en"> |
| 34 | <div class="titlepage"> |
| 35 | <div> |
| 36 | <div> |
| 37 | <h2 class="title" style="clear: both"><a id="seqstat_print"></a>DbSequence::stat_print()</h2> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | <pre class="programlisting">#include <db_cxx> |
| 42 | |
| 43 | int |
| 44 | DbSequence::stat_print(u_int32_t flags); </pre> |
| 45 | <p> |
| 46 | The <code class="methodname">DbSequence::stat_print()</code> method prints diagnostic information to |
| 47 | the output channel described by the <a class="xref" href="envset_msgfile.html" title="DbEnv::set_msgfile()">DbEnv::set_msgfile()</a> |
| 48 | method. |
| 49 | </p> |
| 50 | <p> |
| 51 | The <code class="methodname">DbSequence::stat_print()</code> <span> |
| 52 | |
| 53 | <span> |
| 54 | method either returns a non-zero error value or throws an |
| 55 | exception that encapsulates a non-zero error value on |
| 56 | failure, and returns 0 on success. |
| 57 | </span> |
| 58 | </span> |
| 59 | </p> |
| 60 | <div class="sect2" lang="en" xml:lang="en"> |
| 61 | <div class="titlepage"> |
| 62 | <div> |
| 63 | <div> |
| 64 | <h3 class="title"><a id="idp10222792"></a>Parameters</h3> |
| 65 | </div> |
| 66 | </div> |
| 67 | </div> |
| 68 | <div class="sect3" lang="en" xml:lang="en"> |
| 69 | <div class="titlepage"> |
| 70 | <div> |
| 71 | <div> |
| 72 | <h4 class="title"><a id="idp10222144"></a>flags</h4> |
| 73 | </div> |
| 74 | </div> |
| 75 | </div> |
| 76 | <p> |
| 77 | The <span class="bold"><strong>flags</strong></span> parameter must be set by |
| 78 | bitwise inclusively <span class="bold"><strong>OR</strong></span>'ing together |
| 79 | one or more of the following values: |
| 80 | </p> |
| 81 | <div class="itemizedlist"> |
| 82 | <ul type="disc"> |
| 83 | <li> |
| 84 | <p> |
| 85 | <code class="literal">DB_STAT_CLEAR</code> |
| 86 | </p> |
| 87 | <p> |
| 88 | Reset statistics after printing their values. |
| 89 | </p> |
| 90 | </li> |
| 91 | </ul> |
| 92 | </div> |
| 93 | </div> |
| 94 | </div> |
| 95 | <div class="sect2" lang="en" xml:lang="en"> |
| 96 | <div class="titlepage"> |
| 97 | <div> |
| 98 | <div> |
| 99 | <h3 class="title"><a id="idp10196752"></a>Class</h3> |
| 100 | </div> |
| 101 | </div> |
| 102 | </div> |
| 103 | <p> |
| 104 | <a class="link" href="seq.html" title="Chapter 12. The DbSequence Handle">DbSequence</a> |
| 105 | </p> |
| 106 | </div> |
| 107 | <div class="sect2" lang="en" xml:lang="en"> |
| 108 | <div class="titlepage"> |
| 109 | <div> |
| 110 | <div> |
| 111 | <h3 class="title"><a id="idp10223872"></a>See Also</h3> |
| 112 | </div> |
| 113 | </div> |
| 114 | </div> |
| 115 | <p> |
| 116 | <a class="xref" href="seq.html#seqlist" title="Sequences and Related Methods">Sequences and Related Methods</a> |
| 117 | </p> |
| 118 | </div> |
| 119 | </div> |
| 120 | <div class="navfooter"> |
| 121 | <hr /> |
| 122 | <table width="100%" summary="Navigation footer"> |
| 123 | <tr> |
| 124 | <td width="40%" align="left"><a accesskey="p" href="seqstat.html">Prev</a> </td> |
| 125 | <td width="20%" align="center"> |
| 126 | <a accesskey="u" href="seq.html">Up</a> |
| 127 | </td> |
| 128 | <td width="40%" align="right"> <a accesskey="n" href="txn.html">Next</a></td> |
| 129 | </tr> |
| 130 | <tr> |
| 131 | <td width="40%" align="left" valign="top">DbSequence::stat() </td> |
| 132 | <td width="20%" align="center"> |
| 133 | <a accesskey="h" href="index.html">Home</a> |
| 134 | </td> |
| 135 | <td width="40%" align="right" valign="top"> Chapter 13. |
| 136 | The DbTxn Handle |
| 137 | </td> |
| 138 | </tr> |
| 139 | </table> |
| 140 | </div> |
| 141 | </body> |
| 142 | </html> |