文件名称:DBConnectionPool
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-11-02
- 文件大小:
- 6kb
- 下载次数:
- 0次
- 提 供 者:
- 吴**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
private String dbDiv = "" // 数据库驱动
private String dbUrl = "" // 数据 URL
private String dbUser = "" // 数据库用户名
private String dbPassword = "" // 数据库用户密码
private String testTable = "" // 测试连接是否可用的测试表名,默认没有测试表
private int initialConnections = 10 // 连接池的初始大小
private int incrementalConnections = 5 // 连接池自动增加的大小
private int maxConnections = 50 // 连接池最大的大小
private long checkRelaseConnectionTime = 4 * 60 * 60 * 1000 //连接池中释放数据库连接时间 4 *60 * 60 * 1000
private boolean isRunning = true //线程运行标识
private Vector<PooledConnection> pooledConnectionVector = null // 存放连接池中数据库连接的向量 , 初始时为 null 存放的对象为 PooledConnection 型
-private String dbDiv = " " // database-driven private String dbUrl = " " // Data URL private String dbUser = " " // database user name private String dbPassword = " " // database user password private String testTable = " " // test connection is available test table name, the default is no test table private int initialConnections = 10 // initial size of the connection pool private int incrementalConnections = 5 //connection pool automatically increase the size of the private int maxConnections = 50 // connection pool maximum size of private long checkRelaseConnectionTime = 4* 60* 60* 1000 // release the database connection pool Connection Time 4* 60* 60* 1000 private boolean isRunning = true // thread running identity private Vector <PooledConnection> pooledConnectionVector = null // store the database connection pool connections vectors, initially stored object is null type PooledConnection
private String dbUrl = "" // 数据 URL
private String dbUser = "" // 数据库用户名
private String dbPassword = "" // 数据库用户密码
private String testTable = "" // 测试连接是否可用的测试表名,默认没有测试表
private int initialConnections = 10 // 连接池的初始大小
private int incrementalConnections = 5 // 连接池自动增加的大小
private int maxConnections = 50 // 连接池最大的大小
private long checkRelaseConnectionTime = 4 * 60 * 60 * 1000 //连接池中释放数据库连接时间 4 *60 * 60 * 1000
private boolean isRunning = true //线程运行标识
private Vector<PooledConnection> pooledConnectionVector = null // 存放连接池中数据库连接的向量 , 初始时为 null 存放的对象为 PooledConnection 型
-private String dbDiv = " " // database-driven private String dbUrl = " " // Data URL private String dbUser = " " // database user name private String dbPassword = " " // database user password private String testTable = " " // test connection is available test table name, the default is no test table private int initialConnections = 10 // initial size of the connection pool private int incrementalConnections = 5 //connection pool automatically increase the size of the private int maxConnections = 50 // connection pool maximum size of private long checkRelaseConnectionTime = 4* 60* 60* 1000 // release the database connection pool Connection Time 4* 60* 60* 1000 private boolean isRunning = true // thread running identity private Vector <PooledConnection> pooledConnectionVector = null // store the database connection pool connections vectors, initially stored object is null type PooledConnection
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DBConnectionPool.java