资源简介
java com.mysql.jdbc.driver 连接mysql最新驱动完整版
不要用7z 解压
代码片段和文件信息
/*
Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is applied to
this software see the FLOSS License Exception
.
This program is free software; you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation; version 2
of the License.
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. 51 Franklin St Fifth
Floor Boston MA 02110-1301 USA
*/
package com.mysql.jdbc;
import java.lang.ref.Reference;
import com.mysql.jdbc.NonRegisteringDriver.ConnectionPhantomReference;
public class AbandonedConnectionCleanupThread extends Thread {
private static boolean running = true;
private static Thread threadRef = null;
public AbandonedConnectionCleanupThread() {
super(“Abandoned connection cleanup thread“);
}
public void run() {
threadRef = this;
while (running) {
try {
Reference extends ConnectionImpl> ref = NonRegisteringDriver.refQueue.remove(100);
if (ref != null) {
try {
((ConnectionPhantomReference) ref).cleanup();
} finally {
NonRegisteringDriver.connectionPhantomRefs.remove(ref);
}
}
} catch (Exception ex) {
// no where to really log this if we‘re static
}
}
}
public static void shutdown() throws InterruptedException {
running = false;
if (threadRef != null) {
threadRef.interrupt();
threadRef.join();
threadRef = null;
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\docs\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\authentication\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\configs\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\exceptions\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\exceptions\jdbc4\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\integration\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\integration\c3p0\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\integration\jboss\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\interceptors\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\jdbc2\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\jdbc2\optional\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\jmx\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\log\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\profiler\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\trace\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\util\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\com\mysql\jdbc\webapp\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\doc\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\doc\sources\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\lib\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\org\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\org\gjt\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\org\gjt\mm\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\org\gjt\mm\mysql\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\testsuite\
目录 0 2013-07-24 02:07 mysql-connector-java-5.1.26\src\testsuite\perf\
............此处省略288个文件信息
相关资源
- JSP+MYSQL二手汽车销售系统
- Java Web开发实战宝典医药管理系统源代
- 五子棋源码加论文
- 阿里钉钉集成APIJava
- ThinkinJava双语版
- 网上交友平台系统-jsp大作业-java大作
- javaweb敏捷开发+数据库
- apache-maven-3.3.9.zip
- JAVAWEB 个人理财管理系统 源码
- java使用poi操作excel需要的所有jar包p
- java课程设计小型超市管理系统
- 基于Java的网络五子棋游戏源代码
- 基于Jsp编写的博客系统java+sql
- JSP MYSQL旅游信息网站 源代码
- JAVA JSP公交查询系统 源代码 论文
- java程序设计实用教程第四版随书资源
- JavaWeb入门经典-共享代码
- Android向Java后台发送请求并返回Json数
- java + mysql在线商城,比较简单
- Java swing Oracle实现的客户关系管理系统
- 基于java的学生档案管理系统
- 基于web的耗材管理系统的设计与实现
- java+jsp做的网上书店源码+报告
- JavaMail+Ajax+Jsp实现邮箱发送验证消息并
- SSM 企业人才管理系统 学士后Java6.0毕
- 利Android AQuery中ajax访问SSH搭建的后台
- JAVA核心知识点整理(有效)
- java 简单的资源管理器基于Windows
- selenium-java-3.8.1
- 教材订购系统jsp+servlet+mysql
评论
共有 条评论