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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? mysqlpooledconnection.java

?? mysql jdbc驅(qū)動程序 mysql jdbc驅(qū)動程序 mysql jdbc驅(qū)動程序 mysql jdbc驅(qū)動程序
?? JAVA
字號:
/* Copyright (C) 2002-2004 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as  published by the Free Software Foundation. There are special exceptions to the terms and conditions of the GPL  as it is applied to this software. View the full text of the  exception in file EXCEPTIONS-CONNECTOR-J in the directory of this  software distribution. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  */package com.mysql.jdbc.jdbc2.optional;import java.sql.Connection;import java.sql.SQLException;import java.util.Enumeration;import java.util.Hashtable;import javax.sql.ConnectionEvent;import javax.sql.ConnectionEventListener;import javax.sql.PooledConnection;import com.mysql.jdbc.SQLError;/** * This class is used to wrap and return a physical connection within a logical * handle. It also registers and notifies ConnectionEventListeners of any * ConnectionEvents *  * @see javax.sql.PooledConnection * @see org.gjt.mm.mysql.jdbc2.optional.LogicalHandle * @author Todd Wolff <todd.wolff_at_prodigy.net> */public class MysqlPooledConnection implements PooledConnection {	/**	 * The flag for an exception being thrown.	 */	public static final int CONNECTION_ERROR_EVENT = 1;	/**	 * The flag for a connection being closed.	 */	public static final int CONNECTION_CLOSED_EVENT = 2;	// ~ Instance/static variables .............................................	private Hashtable eventListeners;	private Connection logicalHandle;	private com.mysql.jdbc.Connection physicalConn;	// ~ Constructors ..........................................................	/**	 * Construct a new MysqlPooledConnection and set instance variables	 * 	 * @param connection	 *            physical connection to db	 */	public MysqlPooledConnection(com.mysql.jdbc.Connection connection) {		this.logicalHandle = null;		this.physicalConn = connection;		this.eventListeners = new Hashtable(10);	}	// ~ Methods ...............................................................	/**	 * Adds ConnectionEventListeners to a hash table to be used for notification	 * of ConnectionEvents	 * 	 * @param connectioneventlistener	 *            listener to be notified with ConnectionEvents	 */	public synchronized void addConnectionEventListener(			ConnectionEventListener connectioneventlistener) {		if (this.eventListeners != null) {			this.eventListeners.put(connectioneventlistener,					connectioneventlistener);		}	}	/**	 * Removes ConnectionEventListeners from hash table used for notification of	 * ConnectionEvents	 * 	 * @param connectioneventlistener	 *            listener to be removed	 */	public synchronized void removeConnectionEventListener(			ConnectionEventListener connectioneventlistener) {		if (this.eventListeners != null) {			this.eventListeners.remove(connectioneventlistener);		}	}	/**	 * Invoked by the container. Return a logicalHandle object that wraps a	 * physical connection.	 * 	 * @see java.sql.DataSource#getConnection()	 */	public synchronized Connection getConnection() throws SQLException {		return getConnection(true, false);			}		protected synchronized Connection getConnection(boolean resetServerState, 			boolean forXa)		throws SQLException {		if (this.physicalConn == null) {			SQLException sqlException = SQLError.createSQLException(					"Physical Connection doesn't exist");			callListener(CONNECTION_ERROR_EVENT, sqlException);			throw sqlException;		}		try {			if (this.logicalHandle != null) {				((ConnectionWrapper) this.logicalHandle).close(false);			}			if (resetServerState) {				((com.mysql.jdbc.Connection) this.physicalConn).resetServerState();			}			this.logicalHandle = new ConnectionWrapper(this, this.physicalConn, forXa);		} catch (SQLException sqlException) {			callListener(CONNECTION_ERROR_EVENT, sqlException);			throw sqlException;		}		return this.logicalHandle;	}	/**	 * Invoked by the container (not the client), and should close the physical	 * connection. This will be called if the pool is destroyed or the	 * connectionEventListener receives a connectionErrorOccurred event.	 * 	 * @see java.sql.DataSource#close()	 */	public synchronized void close() throws SQLException {		if (this.physicalConn != null) {			this.physicalConn.close();		}		this.physicalConn = null;	}	/**	 * Notifies all registered ConnectionEventListeners of ConnectionEvents.	 * Instantiates a new ConnectionEvent which wraps sqlException and invokes	 * either connectionClose or connectionErrorOccurred on listener as	 * appropriate.	 * 	 * @param eventType	 *            value indicating whether connectionClosed or	 *            connectionErrorOccurred called	 * @param sqlException	 *            the exception being thrown	 */	protected synchronized void callListener(int eventType,			SQLException sqlException) {		if (this.eventListeners == null) {			return;		}		Enumeration enumeration = this.eventListeners.keys();		ConnectionEvent connectionevent = new ConnectionEvent(this,				sqlException);		while (enumeration.hasMoreElements()) {			ConnectionEventListener connectioneventlistener = (ConnectionEventListener) enumeration					.nextElement();			ConnectionEventListener connectioneventlistener1 = (ConnectionEventListener) this.eventListeners					.get(connectioneventlistener);			if (eventType == CONNECTION_CLOSED_EVENT) {				connectioneventlistener1.connectionClosed(connectionevent);			} else if (eventType == CONNECTION_ERROR_EVENT) {				connectioneventlistener1						.connectionErrorOccurred(connectionevent);			}		}	}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品日韩在线观看| 日韩免费一区二区三区在线播放| 一区二区三区欧美久久| 91精品国产乱码| 99久久伊人久久99| 精品一区二区三区视频在线观看| 亚洲色欲色欲www| 精品久久五月天| 欧美日韩国产首页| 成人精品免费网站| 麻豆久久久久久| 亚洲成人自拍网| 亚洲欧洲精品成人久久奇米网 | 日韩欧美高清在线| 色婷婷亚洲精品| 粉嫩av一区二区三区粉嫩| 看国产成人h片视频| 免费看欧美美女黄的网站| 精品一区二区三区免费| 久久夜色精品一区| 黄色精品一二区| 午夜精品一区二区三区三上悠亚| 国产精品美女久久久久久2018| 日韩欧美一区中文| 91麻豆精品国产91久久久使用方法 | 成人av免费网站| 国产剧情一区在线| 韩国精品主播一区二区在线观看| 午夜激情综合网| 亚洲国产精品久久艾草纯爱| 亚洲精品中文在线| 亚洲天天做日日做天天谢日日欢| 国产欧美一区二区精品性| 精品国产一区二区三区久久影院 | 国产精品亚洲视频| 九一九一国产精品| 九九视频精品免费| 韩国成人福利片在线播放| 久久99精品一区二区三区| 麻豆一区二区99久久久久| 日本不卡一区二区三区| 美女网站一区二区| 蜜桃av噜噜一区| 精品一区二区av| 国产乱子轮精品视频| 国产不卡高清在线观看视频| 粉嫩一区二区三区性色av| 99久久久精品| 欧美亚洲国产怡红院影院| 欧美日韩在线一区二区| 欧美一区二区在线看| 日韩精品一区二区三区三区免费 | 国产一区二区日韩精品| 国产精品91一区二区| 成人激情文学综合网| 色综合久久久久综合体| 欧美性受极品xxxx喷水| 欧美一区二区视频在线观看2020| 91精品国产91热久久久做人人| 精品国产伦一区二区三区观看方式| 精品国产区一区| 国产精品欧美极品| 亚洲午夜免费视频| 美女一区二区视频| 成人久久视频在线观看| 在线观看免费亚洲| 欧美电视剧在线观看完整版| 欧美国产日产图区| 一卡二卡三卡日韩欧美| 免费成人深夜小野草| 国产成人av资源| 欧洲精品视频在线观看| 制服丝袜成人动漫| 中文文精品字幕一区二区| 亚洲欧美另类小说视频| 日本欧美肥老太交大片| 国产成人av资源| 欧美另类z0zxhd电影| 久久久久久久久久看片| 一区二区三区日韩欧美精品| 老司机精品视频线观看86| 91美女在线视频| 精品国免费一区二区三区| 最新国产成人在线观看| 久久精品国产网站| 欧美最新大片在线看| 久久综合色婷婷| 亚洲图片欧美视频| 国产成人综合精品三级| 欧美日韩国产一级二级| 国产精品色在线观看| 奇米在线7777在线精品| 91论坛在线播放| 久久蜜臀精品av| 日韩avvvv在线播放| 99国产精品久久| 欧美精品一区二区三区久久久| 亚洲资源中文字幕| 国产99久久久久久免费看农村| 欧美福利视频导航| 亚洲色图在线播放| 国产激情偷乱视频一区二区三区| 欧美三级欧美一级| 中文字幕在线播放不卡一区| 国内成人免费视频| 91精品国产综合久久久久久久久久| 国产精品国产精品国产专区不蜜| 美女精品一区二区| 欧美性欧美巨大黑白大战| 国产精品女人毛片| 久久97超碰色| 91精品国产一区二区人妖| 亚洲欧美国产三级| 成人动漫视频在线| 国产日韩欧美精品一区| 精品一区二区三区免费视频| 欧美一区二区三区在线观看视频| 亚洲精品第1页| 成人网在线播放| 欧美国产在线观看| 国产69精品久久久久777| 日韩一区二区三区电影在线观看| 亚洲丰满少妇videoshd| 在线精品视频一区二区三四| 国产精品久久久久精k8 | 亚洲欧美日本在线| jiyouzz国产精品久久| 中文一区二区在线观看| 国产91精品在线观看| 久久精品人人做人人爽97| 国产综合一区二区| www国产精品av| 国产一区二区三区不卡在线观看| 2021中文字幕一区亚洲| 另类小说欧美激情| 久久亚洲捆绑美女| 国产美女在线观看一区| 久久午夜电影网| 国产馆精品极品| 中文在线免费一区三区高中清不卡| 成熟亚洲日本毛茸茸凸凹| 中文字幕av一区二区三区免费看| 成人午夜视频在线观看| 日韩理论在线观看| 日本电影亚洲天堂一区| 亚洲一二三四区不卡| 欧美日本韩国一区| 麻豆91小视频| 久久精品欧美一区二区三区麻豆| 成人久久18免费网站麻豆| 亚洲美女电影在线| 欧美日韩国产美| 老司机免费视频一区二区| 国产欧美中文在线| 91视频.com| 水野朝阳av一区二区三区| 欧美r级电影在线观看| 国产久卡久卡久卡久卡视频精品| 欧美经典三级视频一区二区三区| 91麻豆福利精品推荐| 天堂蜜桃91精品| 久久亚洲一区二区三区明星换脸 | 久久99精品国产麻豆婷婷| 国产亚洲精品免费| 一本大道久久a久久精品综合| 亚洲妇女屁股眼交7| 久久亚洲精华国产精华液 | 免费成人在线观看| 欧美国产精品专区| 欧美午夜精品电影| 久久精品av麻豆的观看方式| 欧美极品美女视频| 欧美性猛交一区二区三区精品 | 不卡一区在线观看| 亚洲成人你懂的| 久久综合九色综合97婷婷女人 | 欧美精品久久一区二区三区| 狠狠色丁香久久婷婷综合丁香| 国产精品久久看| 在线播放日韩导航| 成人综合激情网| 天堂成人免费av电影一区| 国产精品色一区二区三区| 欧美日韩免费一区二区三区视频| 狠狠狠色丁香婷婷综合激情 | 欧美日本在线播放| 国产超碰在线一区| 婷婷国产在线综合| 国产精品久久久久久久久免费桃花| 337p亚洲精品色噜噜| 91尤物视频在线观看| 黄色资源网久久资源365| 亚洲综合激情小说| 国产日韩影视精品| 91精品啪在线观看国产60岁| gogogo免费视频观看亚洲一| 久久国产免费看| 亚洲图片欧美视频| 国产精品国产精品国产专区不蜜| 日韩欧美高清一区|