Apache commons pool 1.5.4

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Natural Language Processing
51.Net
52.Parser
53.PDF
54.Portal
55.Profiler
56.Project Management
57.Report
58.RSS RDF
59.Rule Engine
60.Science
61.Scripting
62.Search Engine
63.Security
64.Sevlet Container
65.Source Control
66.Swing Library
67.Template Engine
68.Test Coverage
69.Testing
70.UML
71.Web Crawler
72.Web Framework
73.Web Mail
74.Web Server
75.Web Services
76.Web Services apache cxf 2.2.6
77.Web Services AXIS2
78.Wiki Engine
79.Workflow Engines
80.XML
81.XML UI
Java Source Code / Java Documentation  » Database JDBC Connection Pool » Apache commons pool 1.5.4 
Generic object pooling component.
License:Apache License
URL:http://commons.apache.org/pool/
Description:
Package NameComment
org.apache.commons.pool Package Documentation for org.apache.commons.pool

Object pooling API.

The org.apache.commons.pool package defines a simple interface for a pool of object instances, and a handful of base classes that may be useful when creating pool implementations.

The pool package itself doesn't define a specific object pooling implementation, but rather a contract that implementations may support in order to be fully interchangeable.

The pool package separates the way in which instances are pooled from the way in which they are created, resulting in a pair of interfaces:

{@link org.apache.commons.pool.ObjectPool ObjectPool}
defines a simple object pooling interface, with methods for borrowing instances from and returning them to the pool.
{@link org.apache.commons.pool.PoolableObjectFactory PoolableObjectFactory}
defines lifecycle methods for object instances contained within a pool. By associating a factory with a pool, the pool can create new object instances as needed.

{@link org.apache.commons.pool.ObjectPoolFactory ObjectPoolFactory} defines a simple factory for ObjectPools, which may be useful for some applications.

The pool package also provides a keyed pool interface, which pools instances of multiple types, accessed according to an arbitrary key. See {@link org.apache.commons.pool.KeyedObjectPool KeyedObjectPool}, {@link org.apache.commons.pool.KeyedPoolableObjectFactory KeyedPoolableObjectFactory}, and {@link org.apache.commons.pool.KeyedObjectPoolFactory KeyedObjectPoolFactory}.

org.apache.commons.pool.impl Package Documentation for org.apache.commons.pool.impl

Object pooling API implementations.

{@link org.apache.commons.pool.impl.StackObjectPool StackObjectPool} ({@link org.apache.commons.pool.impl.StackKeyedObjectPool StackKeyedObjectPool}) provides a simple, {@link java.util.Stack Stack}-based implementation of {@link org.apache.commons.pool.ObjectPool ObjectPool} ({@link org.apache.commons.pool.KeyedObjectPool KeyedObjectPool}). {@link org.apache.commons.pool.impl.StackObjectPoolFactory StackObjectPoolFactory} ({@link org.apache.commons.pool.impl.StackKeyedObjectPoolFactory StackKeyedObjectPoolFactory}) provides an implementation of the {@link org.apache.commons.pool.ObjectPoolFactory ObjectPoolFactory} ({@link org.apache.commons.pool.KeyedObjectPoolFactory KeyedObjectPoolFactory}) factory interface for this class.

{@link org.apache.commons.pool.impl.GenericObjectPool GenericObjectPool} ({@link org.apache.commons.pool.impl.GenericKeyedObjectPool GenericKeyedObjectPool}) provides a more robust (but also more complicated) implementation of {@link org.apache.commons.pool.ObjectPool ObjectPool} ({@link org.apache.commons.pool.KeyedObjectPool KeyedObjectPool}). {@link org.apache.commons.pool.impl.GenericObjectPoolFactory GenericObjectPoolFactory} ({@link org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory GenericKeyedObjectPoolFactory}) provides an implementation of the {@link org.apache.commons.pool.ObjectPoolFactory ObjectPoolFactory} ({@link org.apache.commons.pool.KeyedObjectPoolFactory KeyedObjectPoolFactory}) factory interface for this class.

See also the {@link org.apache.commons.pool} package.

org.apache.commons.pool.performance
w___w_w_.j__a_va___2_s_.c_o___m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.