- getActiveConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
The number of connections currently in use.
- getAge() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The age in millseconds since this connection was built
- getAge() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getAlias() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The name associated with this connection pool.
- getAlias() - Method in class org.logicalcobwebs.proxool.Prototyper
-
The alias of the pool we are prototyping for
- getAlias() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getAlias(Connection) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Get the alias for the connection pool that served a connection
- getAlias() - Method in class org.logicalcobwebs.proxool.WrappedConnection
-
Get the alias of the connection pool this connection belongs to
- getAliases() - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Get a list of all the registered pools
- getAvailableConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
The number of connections that are available for use (doesn't include
active connections).
- getBirthDate() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
- getBirthDate() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getBirthTime() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The time that this connection was created.
- getBirthTime() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getCause() - Method in exception org.logicalcobwebs.proxool.FatalRuntimeException
-
- getCause() - Method in exception org.logicalcobwebs.proxool.FatalSQLException
-
- getCause() - Method in exception org.logicalcobwebs.proxool.ProxoolException
-
Returns the cause of this exception or null
if the
cause is nonexistent or unknown.
- getCompleteUrl() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The URL that was used to define this pool.
- getConnection() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getConnection(String, String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getConnection() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getConnection() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
The real, delegate connection that we are using
- getConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
- getConnectionCount() - Method in class org.logicalcobwebs.proxool.Prototyper
-
The total number of connections, including those being built right
now
- getConnectionInfos(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- getConnectionPoolDefinition(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Get the definition of a pool.
- getConnectionPoolStatistics(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- getConnectionPoolStatisticsDump(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- getConnectionsRefusedCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
The number of connections refused.
- getConnectionsServedCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
The number of connections provided.
- getDateStarted() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
When this pool was started
- getDebugLevel() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getDefinition() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
Get the definition that was used to create this connection
- getDefinition() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
- getDelegateConnection(Connection) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- getDelegateHashcode() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The hashcode (in hex) of the delegate connection object.
- getDelegateHashcode() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getDelegateProperties() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
Get all of the properties that are defined on the delegated driver.
- getDelegateProperty(String) - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getDelegateStatement(Statement) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- getDelegateUrl() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The URL that this connection is using (the definition
might have changed since this connection was built).
- getDelegateUrl() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getDriver() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getDriver() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getDriverUrl() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getFatalSqlExceptions() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
Get the list of fatal SQL exception (Strings) fragments that will
trigger the death of a Connection.
- getFatalSqlExceptionsAsString() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getFatalSqlExceptionWrapper() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
If this is not-null then any fatal SQLException is wrapped up inside
an instance of this class.
- getFatalSqlExceptionWrapperClass() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getHouseKeepingSleepTime() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
This is the time the house keeping thread sleeps for between checks.
- getHouseKeepingSleepTime() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getHouseKeepingTestSql() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The test SQL that we perform to see if a connection is alright.
- getHouseKeepingTestSql() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getId() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
A unique ID for this connection
- getId(Connection) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Get the connection ID for a connection
- getId() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getId() - Method in class org.logicalcobwebs.proxool.WrappedConnection
-
- getInitialContextFactory() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
JNDI property
- getInjectableCallableStatementInterface() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The class name of an interface that should be injected everytime we make a CallableStatement.
- getInjectableConnectionInterface() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The class name of an interface that should be injected everytime we make a Connection.
- getInjectablePreparedStatementInterface() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The class name of an interface that should be injected everytime we make a PreparedStatement.
- getInjectableStatementInterface() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The class name of an interface that should be injected everytime we make a Statement.
- getJdbcDriverVersion() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getJmxAgentId() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
Get a comma separated list of JMX agent ids (as used by
MBeanServerFactory.findMBeanServer(String agentId)
) to register the pool to.
- getJmxAgentId() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getJndiName() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
JNDI property
- getLastSqlCall() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getLastSqlCall() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
- getLoginTimeout() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getLogWriter() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getMajorVersion() - Method in class org.logicalcobwebs.proxool.ProxoolDriver
-
- getMark() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
Sometimes we want do something to a connection but can't because it is still
active and we don't want to disrupt its use.
- getMark() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getMaximumActiveTime() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
If the housekeeper comes across a thread that has been active for longer
than this then it will kill it.
- getMaximumActiveTime() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getMaximumConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The maximum number of connections to the database
- getMaximumConnectionCount() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getMaximumConnectionLifetime() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The maximum amount of time that a connection exists for before it is killed (recycled).
- getMaximumConnectionLifetime() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getMaximumNewConnections() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getMinimumConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The minimum number of connections we will keep open, regardless of whether anyone needs them or not.
- getMinimumConnectionCount() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getMinorVersion() - Method in class org.logicalcobwebs.proxool.ProxoolDriver
-
- getName() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getObjectInstance(Object, Name, Context, Hashtable) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getOfflineConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
The number of connections that are neither active or available.
- getOriginalSQLException() - Method in exception org.logicalcobwebs.proxool.FatalSQLException
-
Get the SQLException that was detected as being fatal
- getOverloadWithoutRefusalLifetime() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
This is the time in milliseconds after the last time that we refused a
connection that we still consider ourselves to be overloaded.
- getOverloadWithoutRefusalLifetime() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getParentLogger() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getParentLogger() - Method in class org.logicalcobwebs.proxool.ProxoolDriver
-
- getPassword() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The password to use to login to the database
- getPassword() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getProperties() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getPropertyInfo(String, Properties) - Method in class org.logicalcobwebs.proxool.ProxoolDriver
-
- getPrototypeCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
This is the number of spare connections we will strive to have.
- getPrototypeCount() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getProviderUrl() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
JNDI property
- getProxyConnection() - Method in class org.logicalcobwebs.proxool.WrappedConnection
-
Get the encapsulated proxy connection
- getProxyHashcode() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The hashcode (in hex) of the ProxyConnection object.
- getProxyHashcode() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getReasonCode() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getReasonCode() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
Get the reason why this connection is
marked
- getReasonForMark() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getReasonForMark() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
Why this connection is marked (for instance, if a thread has
marked it for expiry then it's nice to know why)
- getRecentlyStartedThreshold() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
As long as we have one connection that was started within this threshold
then we consider the pool to be up.
- getRecentlyStartedThreshold() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getRequester() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The name of the thread that asked for this connection.
- getRequester() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getSecurityAuthentication() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
JNDI property
- getSecurityCredentials() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
JNDI property
- getSecurityPrincipal() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
JNDI property
- getSimultaneousBuildThrottle() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
In order to prevent overloading, this is the maximum number of connections that you can have that are in the progress
of being made.
- getSimultaneousBuildThrottle() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getSnapshot(String, boolean) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Gives a snapshot of what the pool is doing
- getSnapshot(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Calls
getSnapshot
using false for the detail parameter.
- getSqlCalls() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
A log of the last SQL used on this connection.
- getSqlCalls() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getStatistics() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The sample length (in seconds) when taking statistical information,
or null to disable statistics.
- getStatistics() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getStatistics(String, String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Get a particular set of performance statistics for this pool
- getStatistics(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Get all the lastest performance statistics for this pool
- getStatisticsLogLevel() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
Whether statistics are logged as they are produced.
- getStatisticsLogLevel() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getStatus() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The status of the connection.
- getStatus() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getTimeLastStartActive() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
When this connection was last given out.
- getTimeLastStartActive() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getTimeLastStopActive() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
When this connection was last given back (or zero if it is still active).
- getTimeLastStopActive() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getUrl() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
This is the URL used to connect to the database.
- getUser() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getUser() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getVersion() - Static method in class org.logicalcobwebs.proxool.Version
-
- PASSWORD_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- PASSWORD_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
Standard JDBC property
- printStackTrace() - Method in exception org.logicalcobwebs.proxool.ProxoolException
-
Prints this ProxoolException and its backtrace to the
standard error stream.
- printStackTrace(PrintStream) - Method in exception org.logicalcobwebs.proxool.ProxoolException
-
Prints this ProxoolException and its backtrace to the specified print stream.
- printStackTrace(PrintWriter) - Method in exception org.logicalcobwebs.proxool.ProxoolException
-
Prints this ProxoolException and its backtrace to the specified
print writer.
- PROPERTY_PREFIX - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- PropertyConfigurator - Class in org.logicalcobwebs.proxool.configuration
-
Uses a standard Java properties file to configure Proxool.
- PropertyConfigurator() - Constructor for class org.logicalcobwebs.proxool.configuration.PropertyConfigurator
-
- PROTOTYPE_COUNT - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- PROTOTYPE_COUNT_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- Prototyper - Class in org.logicalcobwebs.proxool
-
Responsible for prototyping connections for all pools
- Prototyper(ConnectionPool) - Constructor for class org.logicalcobwebs.proxool.Prototyper
-
- PrototyperController - Class in org.logicalcobwebs.proxool
-
- PrototyperController() - Constructor for class org.logicalcobwebs.proxool.PrototyperController
-
- PrototyperThread - Class in org.logicalcobwebs.proxool
-
Responsible for running
sweep
.
- PrototyperThread(String) - Constructor for class org.logicalcobwebs.proxool.PrototyperThread
-
- PROXOOL - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- PROXOOL_XML_NAMESPACE_URI - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
The namespace uri associated with namepace aware Proxool xml configurations.
Value: The latest version is available at http://proxool.sourceforge.net/xml-namespace
- ProxoolConstants - Interface in org.logicalcobwebs.proxool
-
All constants here please.
- ProxoolDataSource - Class in org.logicalcobwebs.proxool
-
The Proxool DataSource implementation.
- ProxoolDataSource() - Constructor for class org.logicalcobwebs.proxool.ProxoolDataSource
-
- ProxoolDataSource(String) - Constructor for class org.logicalcobwebs.proxool.ProxoolDataSource
-
- ProxoolDriver - Class in org.logicalcobwebs.proxool
-
This is the Proxool implementation of the java.sql.Driver interface.
- ProxoolDriver() - Constructor for class org.logicalcobwebs.proxool.ProxoolDriver
-
- ProxoolException - Exception in org.logicalcobwebs.proxool
-
Proxool exception class that emulates the behaviour of the new cause
facility in jdk 1.4.
- ProxoolException() - Constructor for exception org.logicalcobwebs.proxool.ProxoolException
-
Constructs a new instance with null
as its detail message.
- ProxoolException(String) - Constructor for exception org.logicalcobwebs.proxool.ProxoolException
-
Constructs a new instance with the specified detail message.
- ProxoolException(String, Throwable) - Constructor for exception org.logicalcobwebs.proxool.ProxoolException
-
Constructs a new instance with the specified detail message and cause.
- ProxoolException(Throwable) - Constructor for exception org.logicalcobwebs.proxool.ProxoolException
-
Constructs a new throwable with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- ProxoolFacade - Class in org.logicalcobwebs.proxool
-
This provides some nice-to-have features that can't be provided by the
Driver
implementation
of java.sql.Driver.
- ProxoolFacade() - Constructor for class org.logicalcobwebs.proxool.ProxoolFacade
-
- ProxoolListenerIF - Interface in org.logicalcobwebs.proxool
-
Listener for global Proxool events.
- ProxyConnection - Class in org.logicalcobwebs.proxool
-
Manages a connection.
- ProxyConnectionIF - Interface in org.logicalcobwebs.proxool
-
Contains most of the functionality that we require to manipilate the
connection.