DDConnectionBroker

本项目在 对象池与连接池 中的评分:   7

DDConnectionBroker is a simple, light database connection-pooling tool for Java developers. 

The DDConnectionBroker has a simple contract with you, the developer:

  • DDConnectionBroker will create and maintain a pool of java.sql.Connection objects.
  • When the DDConnectionBroker is first constructed, minConnections will be established in the connection pool.
  • maxConnections must be >= minConnections.
  • A log file can be created for the DDConnectionBroker output. If the logFile parameter is set to null, no log file will be created or written to.
  • If a new connection cannot be created in waitTimeout ms, an SQLException will be thrown.
  • DDConnectionBroker will not return a null connection; it will throw an SQLException instead.
  • In the future, the number of connections in the pool will vary from minConnections to maxConnections; minConnections will be available during slow times; maxConnections will be in the pool when busy. (This is not currently implemented.)
  • In the future the maxLeaseTime will be supported. This will allow the user to lease a database connection from the pool for maxLeaseTime ms. When the lease time expires, if the connection has not been returned by the calling program, the connection will be freed from that prior obligation and made available again in the pool. (Not currently implemented.)


其他Java 对象池与连接池 开源项目资源:

本网站对列举的开源项目、软件、源码、类库所评定的分值(PR, Progject Rank),是根据该项目的规模、复杂度、采用人数、开发人数、活跃度、说明文档、演示网站等诸多因素综合所给出主观评价,仅供你参考之用。
List of Companies, Suppliers, Distributors, Importers & Exporters
收藏本网站 | 联系我们 | 英文图书网 | 十万个为什么 | Sitemap生成器 | 国际商贸
Copyright © 2007 - 2012 Why and How