资源简介
山东大学数据库课程设计
图书馆项目开发
应用MYSQL数据库
编程语言JAVA

代码片段和文件信息
/*
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;
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 125440 2014-02-27 12:17 数据库课程设计\数据库课程设计及题目推荐.ppt
文件 821760 2014-02-27 12:18 数据库课程设计\数据库课程设计报告范例.doc
文件 43520 2014-02-27 12:18 数据库课程设计\数据库课程设计说明及格式.doc
文件 533 2014-04-01 16:17 数据库课程设计\图书管理系统\.classpath
文件 394 2014-03-26 14:40 数据库课程设计\图书管理系统\.project
文件 140536 2014-03-26 16:20 数据库课程设计\图书管理系统\1.jpg
文件 276792 2014-03-26 19:29 数据库课程设计\图书管理系统\2.jpg
文件 294278 2014-03-26 15:47 数据库课程设计\图书管理系统\3.jpg
文件 45628 2013-05-01 22:04 数据库课程设计\图书管理系统\ad.jpg
文件 51873 2013-05-02 02:00 数据库课程设计\图书管理系统\ad1.jpg
文件 248037 2014-03-26 19:29 数据库课程设计\图书管理系统\b1.jpg
文件 201160 2014-03-26 19:28 数据库课程设计\图书管理系统\background 4.jpg
文件 172512 2013-04-09 00:50 数据库课程设计\图书管理系统\background.jpg
文件 40976 2014-03-26 15:37 数据库课程设计\图书管理系统\background1.jpg
文件 43712 2014-03-26 16:21 数据库课程设计\图书管理系统\background3.jpg
文件 33592 2013-05-03 01:36 数据库课程设计\图书管理系统\bc1.jpg
文件 2587 2013-05-02 01:40 数据库课程设计\图书管理系统\book.jpg
文件 1801 2013-05-02 01:44 数据库课程设计\图书管理系统\borrow.jpg
文件 14259 2013-05-02 11:47 数据库课程设计\图书管理系统\death.jpg
文件 5031 2013-05-02 01:41 数据库课程设计\图书管理系统\exit.png
文件 26216 2013-05-02 02:25 数据库课程设计\图书管理系统\fire.jpg
文件 28212 2013-05-02 11:54 数据库课程设计\图书管理系统\god.jpg
文件 5266 2013-05-01 22:26 数据库课程设计\图书管理系统\home.png
文件 3233 2014-04-01 15:20 数据库课程设计\图书管理系统\lib.sql
文件 1805 2013-05-02 01:28 数据库课程设计\图书管理系统\reader.jpg
文件 193 2013-05-02 23:24 数据库课程设计\图书管理系统\results.xls
文件 56 2013-05-03 04:10 数据库课程设计\图书管理系统\results2.xls
文件 56 2013-05-03 04:27 数据库课程设计\图书管理系统\results3.xls
文件 3582 2014-04-01 15:01 数据库课程设计\图书管理系统\图书管理系统.sql
文件 629 2014-03-26 14:40 数据库课程设计\图书管理系统\.settings\org.eclipse.jdt.core.prefs
............此处省略351个文件信息
相关资源
- 美食天下项目Android版源码和Web版源码
- java代码编写将excel数据导入到mysql数据
- JAVA828436
- java 企业销售管理系统
- 基于JSP的学生宿舍管理系统(源码 数
- JSP学生信息管理系统 Mysql数据库
- java sql2008的图书馆管理系统
- android通过JDBC连接Mysql数据库
- jsp基于servlet 图书馆管理系统
- java数据库连接(所有的数据库都支持
- 数据库设备管理系统课程设计论文J
- jsp与SQL Server数据库实现的客户注册登
- java sql2000员工管理系统数据库、文档
- java数据库版学生成绩管理系统
- java web学生管理系统(源码+数据库+截
- JavaWeb停车场管理系统(源代码,数据
- Java Web实现的易买网系统网站(源码
- 简单的登录页面,实现增删改查(运
- mvc图书馆管理系统jsp
- 物流管理系统源码(含数据库)5624
- jsp模拟酷狗官网源码(附数据库)
- 一个完整的点餐微信小程序(附后台
- 基于 struts 的学生寝室管理系统的设计
- 煤矿安全管理系统(jsp源码+数据库脚
- 基于JSP实现的美食餐饮管理系统(源
- 都市供求信息网(源码+数据库+文档)
- 图书管理系统(源码+数据库+截图)
- 学生信息管理系统源码+mysql数据库
- javaweb网上购物系统源码(附数据库脚
- jsp+servlet+jdbc开发学生信息后台管理系
评论
共有 条评论