Package org.logicalcobwebs.proxool
A Java SQL Driver that provides a connection pool wrapper around another Driver of your choice. Very simple to migrate existing code. Fully configurable. Fast, mature and robust. Transparently adds connection pooling to your existing JDBC driver.
I want to add some better documentation right here. But in the meantime you should find comprehensive information on our web site
The latest version of this code is available from Sourceforge.
The majority of the work on Proxool (as of May 2002) was funded by Telenor Media AS
Proxool's Licence
Copyright (c) 2002 - 2003 Proxool. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software must display the following acknowledgment:
"This product includes software developed by the Proxool project (The latest version is available at http://proxool.sourceforge.net/)."
4. The name "Proxool" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact bill@logicalcobwebs.co.uk.
5. Products derived from this software may not be called "Proxool" nor may "Proxool" appear in their names without prior written permission of the Proxool Project.
6. Redistributions of any form whatsoever must retain the following acknowledgment:
"This product includes software developed by the Proxool project (The latest version is available at http://proxool.sourceforge.net/)."
THIS SOFTWARE IS PROVIDED BY THE PROXOOL PROJECT ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PROXOOL PROJECT OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This software consists of voluntary contributions made by many individuals on behalf of the Proxool Project. For more information on the Proxool Project please see The latest version is available at http://proxool.sourceforge.net.
-
Interface Summary Interface Description ConfigurationListenerIF Listens to any changes made to adefinition
.ConnectionBuilderIF ConnectionInfoIF Provides information about an individual connection.ConnectionListenerIF You can listen to the lifecycle of a connection.ConnectionPoolDefinitionIF A full definition of everything to do with a connection.ConnectionPoolStatisticsIF This provides real time information about the pool.ConnectionValidatorIF ProxoolConstants All constants here please.ProxoolListenerIF Listener for global Proxool events.ProxyConnectionIF Contains most of the functionality that we require to manipilate the connection.StateListenerIF Monitors the state of the pool so you can see whether it is quiet, busy, overloaded, or down. -
Class Summary Class Description CompositeConfigurationListener AConfigurationListenerIF
that keeps a list ofConfigurationListenerIF
s and notifies them in a thread safe manner.CompositeConnectionListener AConnectionListenerIF
that keeps a list ofConnectionListenerIF
s and notifies them in a thread safe manner.CompositeProxoolListener AProxoolListenerIF
that keeps a list ofProxoolListenerIF
s and notifies them in a thread safe manner.CompositeStateListener AStateListenerIF
that keeps a list ofStateListenerIF
s and notifies them in a thread safe manner.ConnectionResetter Responsible for resetting a Connection to its default state when it is returned to the pool.DefaultConnectionBuilder DefaultConnectionValidator FormatHelper Formats things as StringsHouseKeeperController Schedules when to run the house keeperHouseKeeperThread Responsible for runningsweep
Prototyper Responsible for prototyping connections for all poolsPrototyperController Controls theprototypers
PrototyperThread Responsible for runningsweep
.ProxoolDataSource The Proxool DataSource implementation.ProxoolDriver This is the Proxool implementation of the java.sql.Driver interface.ProxoolFacade This provides some nice-to-have features that can't be provided by theDriver
implementation
of java.sql.Driver.ProxyConnection Manages a connection.Version Tells you the version.WrappedConnection Wraps up aProxyConnection
. -
Exception Summary Exception Description FatalRuntimeException A type of SQLException that has been defined as fatal.FatalSQLException A type of SQLException that has been defined as fatal.ProxoolException Proxool exception class that emulates the behaviour of the new cause facility in jdk 1.4.