資源簡介
山東大學數據庫課程設計
圖書館項目開發
應用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個文件信息
評論
共有 條評論