⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 group__g__connpool.html

📁 oci的源码,可以在任何平台上编译,相当方便实用
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<p>References <a class="el" href="ocilib__types_8h-source.html#l00241">OCI_ConnPool::max</a>.</p></div></div><p><a class="anchor" name="g11d1656264645b9ffb01405c2ff53021"></a><!-- doxytag: member="ocilib.h::OCI_ConnPoolGetMin" ref="g11d1656264645b9ffb01405c2ff53021" args="(OCI_ConnPool *pool)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_ConnPoolGetMin           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___conn_pool.html">OCI_ConnPool</a> *&nbsp;</td>          <td class="paramname"> <em>pool</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the minimum number of connections that can be opened to the database. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>pool</em>&nbsp;</td><td>- Connection pool handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="connpool_8c-source.html#l00545">545</a> of file <a class="el" href="connpool_8c-source.html">connpool.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00240">OCI_ConnPool::min</a>.</p></div></div><p><a class="anchor" name="gfe8e50af422954eac1fa3f33c6624cfd"></a><!-- doxytag: member="ocilib.h::OCI_ConnPoolGetOpenedCount" ref="gfe8e50af422954eac1fa3f33c6624cfd" args="(OCI_ConnPool *pool)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_ConnPoolGetOpenedCount           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___conn_pool.html">OCI_ConnPool</a> *&nbsp;</td>          <td class="paramname"> <em>pool</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the current number of opened connections. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>pool</em>&nbsp;</td><td>- Connection pool handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="connpool_8c-source.html#l00509">509</a> of file <a class="el" href="connpool_8c-source.html">connpool.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00233">OCI_ConnPool::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00229">OCI_ConnPool::handle</a>, and <a class="el" href="ocilib__types_8h-source.html#l00244">OCI_ConnPool::nb_opened</a>.</p></div></div><p><a class="anchor" name="g8fd224a01efdfbb76d642dff095d0612"></a><!-- doxytag: member="ocilib.h::OCI_ConnPoolGetTimeout" ref="g8fd224a01efdfbb76d642dff095d0612" args="(OCI_ConnPool *pool)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_ConnPoolGetTimeout           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___conn_pool.html">OCI_ConnPool</a> *&nbsp;</td>          <td class="paramname"> <em>pool</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Get the idle connection timeout. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>pool</em>&nbsp;</td><td>- Connection pool handle</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Connections idle for more than this time value (in seconds) are terminated<p>Timeout is not available for internal pooling implementation (client &lt; 9i)</dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl><p>Definition at line <a class="el" href="connpool_8c-source.html#l00375">375</a> of file <a class="el" href="connpool_8c-source.html">connpool.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00245">OCI_ConnPool::timeout</a>.</p></div></div><p><a class="anchor" name="g5d8458d13c8704dbf60cb7289b8c6240"></a><!-- doxytag: member="ocilib.h::OCI_ConnPoolSetNoWait" ref="g5d8458d13c8704dbf60cb7289b8c6240" args="(OCI_ConnPool *pool, boolean value)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_ConnPoolSetNoWait           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___conn_pool.html">OCI_ConnPool</a> *&nbsp;</td>          <td class="paramname"> <em>pool</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">boolean&nbsp;</td>          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Set the waiting mode used when no more connections are available from the pool. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>pool</em>&nbsp;</td><td>- connection pool handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>- wait for connection</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Pass :<ul><li>FALSE to wait for an available connection if the pool is saturated</li><li>TRUE to not wait for an available connection</li></ul></dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl><p>Definition at line <a class="el" href="connpool_8c-source.html#l00437">437</a> of file <a class="el" href="connpool_8c-source.html">connpool.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00233">OCI_ConnPool::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00229">OCI_ConnPool::handle</a>, and <a class="el" href="ocilib__types_8h-source.html#l00246">OCI_ConnPool::nowait</a>.</p></div></div><p><a class="anchor" name="gae3bf80948897765fc15d363de073171"></a><!-- doxytag: member="ocilib.h::OCI_ConnPoolSetTimeout" ref="gae3bf80948897765fc15d363de073171" args="(OCI_ConnPool *pool, unsigned int value)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_ConnPoolSetTimeout           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___conn_pool.html">OCI_ConnPool</a> *&nbsp;</td>          <td class="paramname"> <em>pool</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">unsigned int&nbsp;</td>          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Set the idle connection timeout. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>pool</em>&nbsp;</td><td>- Connection pool handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>- Timeout value</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Connections idle for more than this time value (in seconds) are terminated<p>This call has no effect if pooling is internally implemented (client &lt; 9i)</dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl><p>Definition at line <a class="el" href="connpool_8c-source.html#l00388">388</a> of file <a class="el" href="connpool_8c-source.html">connpool.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00233">OCI_ConnPool::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00229">OCI_ConnPool::handle</a>, and <a class="el" href="ocilib__types_8h-source.html#l00245">OCI_ConnPool::timeout</a>.</p></div></div><p><hr size="1"><address style="text-align: right;"><small>Generated on Sat Apr 18 01:13:12 2009 for OCILIB (C Driver for Oracle) by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -