亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dbpool.html

?? 數據庫連接池dbpool_v4.8.3.zip
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
	addConnectionPoolListener(ConnectionPoolListener)
	removeConnectionPoolListener(ConnectionPoolListener)
</pre>
<p>Also provided for convenience is the ConnectionPoolEventAdapter class, which provides null implementations of all the methods in the ConnectionPoolEventListener interface.</p>
<p>The events triggered are as follows:</p>
<blockquote>
<table border="1" cellspacing="0" cellpadding="3">
<tr>
	<th>Event Identifier</th>
	<th>Description</th>
</tr>
<tr>
	<td><code>CHECKOUT</code></td>
	<td>Fired just before a valid connection is handed back to a checkOut(...) request.</td>
</tr>
<tr>
	<td><code>CHECKIN</code></td>
	<td>Fired when a connection is handed back with a checkIn(...) call.</td>
</tr>
<tr>
	<td><code>MAX_POOL_LIMIT_REACHED</code></td>
	<td>Fired when a check-out request causes the pooling limit (maxpool) to be reached.</td>
</tr>
<tr>
	<td><code>MAX_POOL_LIMIT_EXCEEDED</code></td>
	<td>Fired when a check-out request causes the pooling limit (maxpool) to be exceeded.</td>
</tr>
<tr>
	<td><code>MAX_SIZE_LIMIT_REACHED</code></td>
	<td>Fired when a check-out request causes the pool's maximum size limit (maxconn) to be reached.</td>
</tr>
<tr>
	<td><code>MAX_SIZE_LIMIT_ERROR</code></td>
	<td>Fired when a check-out request is made but the pool's maximum size limit (maxconn) has been reached.</td>
</tr>
<tr>
	<td><code>VALIDATION_ERROR</code></td>
	<td>Fired when a connection cannot be validated (when the isValid(...) method call fails).</td>
</tr>
<tr>
	<td><code>PARAMETERS_CHANGED</code></td>
	<td>Fired when the pool's parameters have been changed.</td>
</tr>
<tr>
	<td><code>POOL_RELEASED</code></td>
	<td>Fired when a pool has been released. No more events are fired following this one, as all listeners are deregistered automatically.</td>
</tr>
</table>
</blockquote>
<p>The event notification is synchronous, therefore registered listeners should make sure that code executed in their event-handling methods is executed quickly. Code that requires more time should spawn a separate thread to avoid disrupting the pooling mechanism.</p>


<h4>Debugging</h4>
<p>There is an extra property that can be set to allow more detailed debug information about the pooling mechanism to be output to the log file. To enable this add the following property:</p>
<pre>
	&lt;poolname&gt;.debug=true
</pre>

<p>or invoke the <code>setDebug(true)</code> method on a ConnectionPool instance.<br> <i>Note, this is for debugging purposes only, and in a deployment environment it is likely to impact performance.</i></p>


<hr size="1">


<a name="Notes"></a><h3>Notes &amp; Troubleshooting</h3>

<h4>CLASSPATH problems? Unable to find properties file?</h4>
<p>With some application servers the CLASSPATH variable is less than obvious. Due to the need for segregation of both resources and security policies they very often use separate classloaders which only permit loading of classes and resources from specific locations. Not surprisingly this is vendor-specific, and the only way to really get to grips with the problem is to thoroughly read the documentation provided with the application server. If it helps to diagnose the problem the pool manager uses the following syntax to obtain a locate the properties file:</p>
<pre>
	ConnectionPoolManager.class.getResourceAsStream(filename)
</pre>
<p>where <code>filename</code> is prepended with a &quot;/&quot; character to ensure it is accessed directly. The default properties file is therefore accessed using the call: <code>Class.getResourceAsStream(&quot;/dbpool.properties&quot;)</code>. Bear in mind that different classloaders provided by vendors may well not conform to the standard resource-finding mechanism as used by the system classloader, but this should help in tracking down problems.</p>

<p>Alternatively you can simply use one of the other methods of specifying properties to the ConnectionPoolManager, either referencing a specific file, or passing a Properties object. See the <a href="#ConnectionPoolManager">ConnectionPoolManager</a> section for more details.</p>

<h4>Connection Creation</h4>
<p>This is how the connection pool tries to establish new database connections:</p>
<pre><ol>
<li>if Properties object used
<li>    use <code>DriverManager.getConnection(url, properties)</code>
<li>else if username specified
<li>    use <code>DriverManager.getConnection(url, username, password)</code>
<li>    if this fails
<li>        use <code>DriverManager.getConnection(url)</code>
<li>else
<li>    use <code>DriverManager.getConnection(url)</code>
</ol></pre>

<p>This pseudo-code may help debug certain problems when using the pooling system.</p>

<h4>Bad statement caching performance</h4>
<p>If you experience bad statement caching performance, as indicated when debugging is enabled, it is likely that statements are not being explicitly closed. To be recycled, statements must be closed so that the pool knows they can be reused, otherwise it assumes they are still in use.</p>



<hr size="1">


<a name="Changes"></a><h3>Latest Changes</h3>

<table border="1" cellspacing="0" cellpadding="3">
<tr><td>21/07/2006<br>(v4.8.3)</td><td><ul>
	<li>Workaround for locale-specific exceptions during date-formatting of log entries.
	<li>Bug fix for recycling problem when connection's type map is null.
</ul></td></tr>
<tr><td>31/05/2006<br>(v4.8.2)</td><td><ul>
	<li>Bug fix for handling of non-cached statements on connection closure/destruction.
</ul></td></tr>
<tr><td>07/04/2006<br>(v4.8.1)</td><td><ul>
	<li>Moved pool initialization from ConnectionPool to ObjectPool to provide a generic implementation.
	<li>Added ability to better specify method of item retrieval from pool (LIFO, FIFO, random).
	<li>Added option to override default log file for each pool if required.
	<li>Bug fix to avoid deadlock when statement caching is disabled.
	<li>Bug fix for statements sometimes not getting recycled correctly after first use.
</ul></td></tr>
<tr><td>01/12/2005<br>(v4.8)</td><td><ul>
	<li>Added support for caching of non-standard statement types (type/concurrency/holdability).
	<li>Bug fixes in CacheConnection class.
</ul></td></tr>
<tr><td>14/11/2005<br>(v4.7.2)</td><td><ul>
	<li>Fixed a memory leak in CacheConnection class.
	<li>Fixed a bug which set expiry to zero when maxpool=maxconn in pool manager.
	<li>Changed default internal pool access method to LIFO instead of FIFO (better performance in low-load situations).
</ul></td></tr>
<tr><td>22/12/2004<br>(v4.7.1)</td><td><ul>
	<li>Bug fix to ObjectPool hit rate counting.
	<li>Bug fix to ConnectionPoolManager's logging mechanism. (Note: logging on new standalone ConnectionPools is now off by default, and should be enabled using one of the setLog() methods if required.)
</ul></td></tr>
<tr><td>14/12/2004<br>(v4.7)</td><td><ul>
	<li>Bug fix for CacheConnection statement caching which prevented correct disabling of caching.
	<li>Changed logging in ConnectionPoolManager to support PrintStream instead of PrintWriter for more generalized stream support.
	<li>Added support for pool event listeners.
	<li>Added support for encoding of passwords in properties files.
</ul></td></tr>
<tr><td>06/10/2004<br>(v4.6.2)</td><td><ul>
	<li>Updates to ConnectionPoolManager to allow more flexibility in specifying properties for initialization.
	<li>Bug fix to ensure statements are released correctly if statement caching is disabled on a connection after initialization.
	<li>Bug fix for connection creation which set statement caching based only on normal statements.
	<li>Finally added versioning to make life easier for everyone!
	<li>Changes and clarifications to documentation.
</ul></td></tr>
<tr><td>12/07/2004<br>(v4.6.1)</td><td><ul>
	<li>Bug fix for previous release which caused slowdown with large pool expiry values.
</ul></td></tr>
<tr><td>08/07/2004<br>(v4.6)</td><td><ul>
	<li>Several access-level changes to clarify recommended use of ObjectPool.
	<li>Better check-in logic to avoid unnecessary disposal of some items
	<li>Addition on connection validation at connection creation
	<li>Removed redundant PoolSystem interface (it was allowing incorrect use of freeConnection(); only required to solve circularity in compilation, so now when compiling from source all files should be compiled at once)
	<li>Overhaul of pool synchronization mechanism in response to several more reported deadlock situations
</ul></td></tr>
<tr><td>02/06/2004<br>(v4.5.5)</td><td><ul>
	<li>Minor adjustments to multithreading of cleaner thread causing possible deadlock in some circumstances.
</ul></td></tr>
<tr><td>11/05/2004<br>(v4.5.4)</td><td><ul>
	<li>Fixed a bug with connection initialization in new pools (sometimes causing deadlock).
	<li>Fixed a small problem with exception generation when problems encountered getting connections.
</ul></td></tr>
<tr><td>21/04/2004<br>(v4.5.3)</td><td><ul>
	<li>Fixed a synchronization bug in ObjectPool code.
	<li>Fixed a minor ConnectionPoolManager bug relating to reading a null validator from the properties file.
</ul></td></tr>
<tr><td>07/04/2004<br>(v4.5.2)</td><td><ul>
	<li>Fixed a synchronization bug in ObjectPool.Cleaner which sometimes caused hangups on returned connections.
	<li>Fixed bug in ObjectPool checkOut method to more reliably return valid connections.
</ul></td></tr>
</table>
<br>



<!-- End main page here  -->

<hr size="1">
</td></tr></table>
</div>
</body>
</html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色欧美日韩亚洲| 久久天堂av综合合色蜜桃网| 亚洲欧美综合网| 成人黄色在线网站| 亚洲欧美日韩人成在线播放| 91免费在线播放| 无码av中文一区二区三区桃花岛| 色狠狠色狠狠综合| 天天影视涩香欲综合网| 精品国产一区二区三区久久影院 | 欧洲国产伦久久久久久久| 亚洲黄色av一区| 精品奇米国产一区二区三区| 国产一区二区三区四区五区美女| 久久久久久久久久美女| 成人一区二区三区视频| 午夜成人在线视频| 国产无一区二区| 在线综合视频播放| 91捆绑美女网站| 国产一区二区三区观看| 亚洲国产中文字幕在线视频综合| 日韩色视频在线观看| 色综合一区二区| 国产成人av网站| 奇米一区二区三区| 悠悠色在线精品| 中文字幕亚洲在| 中文av一区特黄| 精品成人免费观看| 欧美一区二区福利视频| 国产自产视频一区二区三区| 国产精品毛片无遮挡高清| 26uuu成人网一区二区三区| 日韩一区二区三区四区 | 成人黄色在线视频| 国产91丝袜在线播放九色| 国内外精品视频| 精品一区二区三区久久| 国产在线精品视频| 国产成人综合视频| 99久久99久久精品国产片果冻| 国产一区二区剧情av在线| 国产精品99久久久久久久女警| 精品一二三四在线| 国产成人精品一区二| 色综合久久久久久久| 色av一区二区| 日韩欧美亚洲国产另类| 精品国产乱码久久| 亚洲视频一二三| 日本不卡在线视频| 免费人成在线不卡| 日本成人在线不卡视频| 国产成人免费视频网站| 97久久超碰国产精品电影| 91久久久免费一区二区| 久久综合久久99| 亚洲同性同志一二三专区| 日本一区二区三区四区在线视频 | 日韩美女一区二区三区| 成人免费视频在线观看| 日韩av电影天堂| 色哟哟一区二区| 久久精品综合网| 免费高清在线视频一区·| 91免费观看视频在线| 精品国产乱码久久久久久图片 | 国产乱人伦精品一区二区在线观看| 成人激情免费视频| 精品欧美黑人一区二区三区| 在线综合视频播放| 亚洲三级理论片| 国产麻豆精品theporn| 日韩欧美国产综合在线一区二区三区 | 久久亚洲春色中文字幕久久久| 日韩成人av影视| 欧美狂野另类xxxxoooo| 亚洲国产视频直播| 欧洲精品中文字幕| 一区二区三区在线不卡| 在线亚洲人成电影网站色www| 国产精品久久久久久户外露出 | 在线播放视频一区| 狠狠色综合色综合网络| 欧美电影精品一区二区| 丰满岳乱妇一区二区三区| 2023国产精品| 日本乱码高清不卡字幕| 国产精品久久久久久久久久免费看 | 26uuu另类欧美| 成人黄色av电影| 亚洲美女免费视频| 欧美xxxxx裸体时装秀| 国产一区二区看久久| 国产精品欧美极品| 欧美精品欧美精品系列| 丝袜美腿成人在线| 国产拍欧美日韩视频二区| 一本大道av伊人久久综合| 男女激情视频一区| 亚洲麻豆国产自偷在线| 欧美成人一区二区三区| 色天天综合色天天久久| 国产美女娇喘av呻吟久久| 亚洲午夜免费电影| 国产精品乱码一区二区三区软件 | 91视频免费观看| 日本va欧美va瓶| 精品欧美乱码久久久久久 | 开心九九激情九九欧美日韩精美视频电影| 日韩欧美国产精品一区| 欧美午夜一区二区三区免费大片| 久久99精品久久久久久动态图| 亚洲乱码中文字幕综合| 中文字幕一区二区三区蜜月 | 成人黄页毛片网站| 粉嫩绯色av一区二区在线观看| 久久99精品久久久久久动态图| 日韩中文字幕区一区有砖一区| 亚洲成人7777| 奇米影视在线99精品| 激情图区综合网| 国内精品写真在线观看| 国产一区二区精品久久99 | 国产成人综合亚洲91猫咪| 国产高清不卡一区二区| 国内精品自线一区二区三区视频| 看片网站欧美日韩| 菠萝蜜视频在线观看一区| 香蕉av福利精品导航| 全国精品久久少妇| 韩国毛片一区二区三区| 91色乱码一区二区三区| 欧美日韩一区久久| 久久综合九色综合欧美98| 久久久久久久久一| 亚洲高清在线精品| 国产一区在线视频| 99re热这里只有精品免费视频 | 在线精品视频免费观看| 欧美一区二区三区四区在线观看| 26uuu亚洲综合色欧美| 综合分类小说区另类春色亚洲小说欧美| 亚洲精品伦理在线| 国产一区二区三区高清播放| 欧美性xxxxx极品少妇| 5月丁香婷婷综合| 亚洲午夜在线视频| 国产成人综合在线观看| 91精品国产免费久久综合| 国产色综合久久| 精彩视频一区二区| 91精品国产91综合久久蜜臀| 中文久久乱码一区二区| 国产成人99久久亚洲综合精品| 日韩免费高清电影| 国产日韩成人精品| 捆绑紧缚一区二区三区视频| 欧美视频在线一区| 亚洲午夜精品网| 色婷婷激情久久| 亚洲成a人v欧美综合天堂| 色哟哟欧美精品| 亚洲一区二区四区蜜桃| 色综合久久99| 亚洲成av人片一区二区梦乃| 欧美伊人精品成人久久综合97| 亚洲男女一区二区三区| 日本丶国产丶欧美色综合| 最新热久久免费视频| 欧美日韩一区高清| 久久99国内精品| 亚洲欧美综合网| 7777精品伊人久久久大香线蕉完整版| 亚洲午夜精品在线| 久久久一区二区三区| 欧美午夜电影一区| 国内不卡的二区三区中文字幕| 国产精品日韩精品欧美在线| 色综合久久久久久久久久久| 麻豆中文一区二区| 亚洲欧洲精品一区二区精品久久久| 欧美午夜片在线观看| 激情综合色播激情啊| 一区二区三区中文字幕| 国产三级一区二区三区| 99精品欧美一区二区三区综合在线| 中文字幕一区二区视频| 26uuu精品一区二区三区四区在线| 成人看片黄a免费看在线| 日韩av不卡一区二区| 国产精品女同一区二区三区| 91麻豆精品91久久久久同性| 一本色道久久综合亚洲aⅴ蜜桃| 老色鬼精品视频在线观看播放| 亚洲综合色在线| 亚洲三级久久久| 亚洲视频一区二区在线| 国产精品白丝在线|