A B C D E F G H I J K L M N O P Q R S T U V W X Y 
All Classes All Packages

A

AbstractListenerContainer - Class in org.logicalcobwebs.proxool.util
Implementation of ListenerContainerIF that uses a reads/write lock to handle concurrency in a safe and fast way.
AbstractListenerContainer() - Constructor for class org.logicalcobwebs.proxool.util.AbstractListenerContainer
 
acceptsURL(String) - Method in class org.logicalcobwebs.proxool.ProxoolDriver
 
acquire() - Method in interface org.logicalcobwebs.concurrent.Sync
Wait (possibly forever) until successful passage.
acquire() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.ReaderLock
 
acquire() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.WriterLock
 
active - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
Record whether current thread may be processing a task (i.e., has been started and is not in an idle wait).
activeCount - Variable in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Number of threads that are not waiting for work
activeReaders_ - Variable in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
activeWriter_ - Variable in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
add(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Add amount to value (i.e., set value += amount)
add(int, Object) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Insert the specified element at the specified position in this list, and shift all remaining elements up one position.
add(Object) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Appends the specified element to the end of this list.
addAll(int, Collection) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Insert all of the elements in the specified Collection at the specified position in this list, and shift any previous elements upwards as needed.
addAll(Collection) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Append all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator.
addConfigurationListener(String, ConfigurationListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Adds a listener that gets called everytime the configuration changes.
addConnectionListener(String, ConnectionListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Add a listener that monitors each time a connection is made or destroyed.
addListener(Object) - Method in class org.logicalcobwebs.proxool.util.AbstractListenerContainer
 
addListener(Object) - Method in interface org.logicalcobwebs.proxool.util.ListenerContainerIF
Add a listener to this container.
addNotificationListener(NotificationListener, NotificationFilter, Object) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
addOpenStatement(Statement) - Method in class org.logicalcobwebs.proxool.ProxyConnection
By calling this we can keep track of any statements that are left open when this connection is returned to the pool.
addProxoolListener(ProxoolListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Add a listener that gets called everytime a global Proxool event ocours.
addSqlCall(String) - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
addStateListener(String, StateListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Add a listener that monitors the change of state of the pool (quiet, busy, overloaded, or down)
addStatisticsListener(String, StatisticsListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Add a listener that receives statistics as they are produced
addStatisticsListener(StatisticsListenerIF) - Method in class org.logicalcobwebs.proxool.admin.Admin
 
Admin - Class in org.logicalcobwebs.proxool.admin
Provides statistics about the performance of a pool.
Admin(ConnectionPoolDefinitionIF) - Constructor for class org.logicalcobwebs.proxool.admin.Admin
 
AdminServlet - Class in org.logicalcobwebs.proxool.admin.servlet
Use this to admin each pool within Proxool.
AdminServlet() - Constructor for class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
 
ALIAS - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Un-prefixed propety name for the Proxool alias configuration property.
ALIAS_DELIMITER - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
ALIAS_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Used to build up URL
allowReader() - Method in class org.logicalcobwebs.concurrent.ReaderPreferenceReadWriteLock
 
allowReader() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
Override this method to change to reader preference
and(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Set value to value & b.
attempt(long) - Method in interface org.logicalcobwebs.concurrent.Sync
Wait at most msecs to pass; report whether passed.
attempt(long) - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.ReaderLock
 
attempt(long) - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.WriterLock
 
ATTRIBUTE_DESCRIPTIONS - Static variable in interface org.logicalcobwebs.proxool.resources.ResourceNamesIF
Name of the attributeDescriptions resource.
AvalonConfigurator - Class in org.logicalcobwebs.proxool.configuration
Configurator for the Avalon Framework.
AvalonConfigurator() - Constructor for class org.logicalcobwebs.proxool.configuration.AvalonConfigurator
 
awaitTermination() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
 

B

barrier - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
An extra object to synchronize on in order to achieve a memory barrier.
base - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
Current base of DEQ.
BoundedChannel - Interface in org.logicalcobwebs.concurrent
A channel that is known to have a capacity, signifying that put operations may block when the capacity is reached.
buildConnection(int, String) - Method in class org.logicalcobwebs.proxool.Prototyper
Build a new connection
buildConnection(ConnectionPoolDefinitionIF) - Method in interface org.logicalcobwebs.proxool.ConnectionBuilderIF
 
buildConnection(ConnectionPoolDefinitionIF) - Method in class org.logicalcobwebs.proxool.DefaultConnectionBuilder
 

C

call() - Method in interface org.logicalcobwebs.concurrent.Callable
Perform some action that returns a result or throws an exception
Callable - Interface in org.logicalcobwebs.concurrent
Interface for runnable actions that bear results and/or throw Exceptions.
cancel() - Method in class org.logicalcobwebs.concurrent.FJTask
Set the termination status of this task.
cancel() - Method in class org.logicalcobwebs.proxool.HouseKeeperThread
 
cancel() - Method in class org.logicalcobwebs.proxool.Prototyper
Cancel all current prototyping
cancel() - Method in class org.logicalcobwebs.proxool.PrototyperThread
 
cancel(String) - Static method in class org.logicalcobwebs.proxool.HouseKeeperController
cancel a house keeper for a pool.
cancelAll() - Method in class org.logicalcobwebs.proxool.admin.Admin
Cancels the timer that outputs the stats
cancelledWaitingReader() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
cancelledWaitingWriter() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
capacity() - Method in interface org.logicalcobwebs.concurrent.BoundedChannel
Return the maximum number of elements that can be held.
Channel - Interface in org.logicalcobwebs.concurrent
Main interface for buffers, queues, pipes, conduits, etc.
characters(char[], int, int) - Method in class org.logicalcobwebs.proxool.configuration.XMLConfigurator
 
checkActive(FJTaskRunner, long) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Set active status of thread t to false, and then wait until: (a) there is a task in the entry queue, or (b) other threads are active, or (c) the current thread is interrupted.
checkOverflow() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Adjust top and base, and grow DEQ if necessary.
checkSimultaneousBuildThrottle() - Method in class org.logicalcobwebs.proxool.Prototyper
Checks whether we are currently already building too many connections
clear() - Method in class org.logicalcobwebs.concurrent.FutureResult
Clear the value and exception and set to not-ready, allowing this FutureResult to be reused.
clear() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Remove all of the elements from this list.
clone() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return a shallow copy of this FastArrayList instance.
close() - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
close() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
Doesn't really close the connection, just puts it back in the pool.
CLOSE_ON_DISPOSE_ATTRIBUTE - Static variable in class org.logicalcobwebs.proxool.configuration.AvalonConfigurator
Constant for the boolean "close-on-dispose" attribute that signifies wether or not this configurator shall close the pools it has created when it is disposed.
coInvoke(FJTask[]) - Static method in class org.logicalcobwebs.concurrent.FJTask
Fork all tasks in array, and await their completion.
coInvoke(FJTask[]) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Array-based version of coInvoke
coInvoke(FJTask, FJTask) - Static method in class org.logicalcobwebs.concurrent.FJTask
Fork both tasks and then wait for their completion.
coInvoke(FJTask, FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
A specialized expansion of w.fork(); invoke(v); w.join();
commit(int, int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Set value to newValue only if it is currently assumedValue.
compareTo(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
 
compareTo(Object) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
 
compareTo(Object) - Method in class org.logicalcobwebs.proxool.ProxyConnection
compareTo(SynchronizedInt) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
 
complement() - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Set the value to its complement
CompositeConfigurationListener - Class in org.logicalcobwebs.proxool
A ConfigurationListenerIF that keeps a list of ConfigurationListenerIFs and notifies them in a thread safe manner.
CompositeConfigurationListener() - Constructor for class org.logicalcobwebs.proxool.CompositeConfigurationListener
 
CompositeConnectionListener - Class in org.logicalcobwebs.proxool
A ConnectionListenerIF that keeps a list of ConnectionListenerIFs and notifies them in a thread safe manner.
CompositeConnectionListener() - Constructor for class org.logicalcobwebs.proxool.CompositeConnectionListener
 
CompositeProxoolListener - Class in org.logicalcobwebs.proxool
A ProxoolListenerIF that keeps a list of ProxoolListenerIFs and notifies them in a thread safe manner.
CompositeProxoolListener() - Constructor for class org.logicalcobwebs.proxool.CompositeProxoolListener
 
CompositeStateListener - Class in org.logicalcobwebs.proxool
A StateListenerIF that keeps a list of StateListenerIFs and notifies them in a thread safe manner.
CompositeStateListener() - Constructor for class org.logicalcobwebs.proxool.CompositeStateListener
 
CompositeStatisticsListener - Class in org.logicalcobwebs.proxool.admin
A StatisticsListenerIF that keeps a list of StatisticsListenerIFs and notifies them in a thread safe manner.
CompositeStatisticsListener() - Constructor for class org.logicalcobwebs.proxool.admin.CompositeStatisticsListener
 
ConfigurationListenerIF - Interface in org.logicalcobwebs.proxool
Listens to any changes made to a definition.
configure(Configuration) - Method in class org.logicalcobwebs.proxool.configuration.AvalonConfigurator
Check that all top level elements are named proxool and hand them to XMLConfigurator.
configure(Reader, boolean) - Static method in class org.logicalcobwebs.proxool.configuration.JAXPConfigurator
Configure Proxool with xml from the given reader.
configure(String) - Static method in class org.logicalcobwebs.proxool.configuration.PropertyConfigurator
Configure proxool with the given properties file.
configure(String, boolean) - Static method in class org.logicalcobwebs.proxool.configuration.JAXPConfigurator
Configure Proxool with xml from the given file.
configure(Properties) - Static method in class org.logicalcobwebs.proxool.configuration.PropertyConfigurator
Configure proxool with the given properties.
configure(InputSource, boolean) - Static method in class org.logicalcobwebs.proxool.configuration.JAXPConfigurator
Configure Proxool with xml from the given InputSource.
confirmPop(int) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Check under synch lock if DEQ is really empty when doing pop.
confirmTake(int) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
double-check a potential take
connect(String, Properties) - Method in class org.logicalcobwebs.proxool.ProxoolDriver
The url should be of the form:
ConnectionBuilderIF - Interface in org.logicalcobwebs.proxool
 
ConnectionInfoIF - Interface in org.logicalcobwebs.proxool
Provides information about an individual connection.
ConnectionListenerIF - Interface in org.logicalcobwebs.proxool
You can listen to the lifecycle of a connection.
ConnectionPoolDefinitionIF - Interface in org.logicalcobwebs.proxool
A full definition of everything to do with a connection.
ConnectionPoolMBean - Class in org.logicalcobwebs.proxool.admin.jmx
JMX DynamicMBean adapter for a Proxool connection pool.
See the configuration documentation to learn how to activate a pool for JMX.
ConnectionPoolMBean(String, Properties) - Constructor for class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
ConnectionPoolStatisticsIF - Interface in org.logicalcobwebs.proxool
This provides real time information about the pool.
connectionRefused() - Method in class org.logicalcobwebs.proxool.admin.Admin
Call this every time a connection is refused
connectionRemoved() - Method in class org.logicalcobwebs.proxool.Prototyper
This needs to be called _everytime_ a connection is removed.
ConnectionResetter - Class in org.logicalcobwebs.proxool
Responsible for resetting a Connection to its default state when it is returned to the pool.
ConnectionResetter(Log, String) - Constructor for class org.logicalcobwebs.proxool.ConnectionResetter
Pass in the log to use
connectionReturned(long) - Method in class org.logicalcobwebs.proxool.admin.Admin
Call this every time an active connection is returned to the pool
ConnectionValidatorIF - Interface in org.logicalcobwebs.proxool
 
contains(Object) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return true if this list contains the specified element.
containsAll(Collection) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return true if this list contains all of the elements in the specified Collection.

D

DEBUG_LEVEL_LOUD - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
 
DEBUG_LEVEL_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Deprecated.
use verbose instead.
DEBUG_LEVEL_QUIET - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
 
decrement() - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Decrement the value.
DEFAULT_HOUSE_KEEPING_SLEEP_TIME - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
30000 (30 Seconds)
DEFAULT_MAXIMUM_ACTIVE_TIME - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
300000 (5 minutes)
DEFAULT_MAXIMUM_CONNECTION_COUNT - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
15
DEFAULT_MAXIMUM_CONNECTION_LIFETIME - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
4 * 60 * 60 * 1000 (4 hours)
DEFAULT_MAXIMUM_NEW_CONNECTIONS - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
DEFAULT_MINIMUM_CONNECTION_COUNT - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
0
DEFAULT_OVERLOAD_WITHOUT_REFUSAL_THRESHOLD - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
60000
DEFAULT_PROTOTYPE_COUNT - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
0
DEFAULT_RECENTLY_STARTED_THRESHOLD - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
60000
DEFAULT_SIMULTANEOUS_BUILD_THROTTLE - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
10
DefaultChannelCapacity - Class in org.logicalcobwebs.concurrent
A utility class to set the default capacity of BoundedChannel implementations that otherwise require a capacity argument
DefaultChannelCapacity() - Constructor for class org.logicalcobwebs.concurrent.DefaultChannelCapacity
 
DefaultConnectionBuilder - Class in org.logicalcobwebs.proxool
 
DefaultConnectionBuilder() - Constructor for class org.logicalcobwebs.proxool.DefaultConnectionBuilder
 
DefaultConnectionValidator - Class in org.logicalcobwebs.proxool
 
DefaultConnectionValidator() - Constructor for class org.logicalcobwebs.proxool.DefaultConnectionValidator
 
definitionUpdated(String, ConnectionPoolDefinitionIF, Properties, Properties) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Broadcast a configuration change
definitionUpdated(ConnectionPoolDefinitionIF, Properties, Properties) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
Update the attributes of this MBean and emit a ConnectionPoolMBean.NOTIFICATION_TYPE_DEFINITION_UPDATED event.
definitionUpdated(ConnectionPoolDefinitionIF, Properties, Properties) - Method in class org.logicalcobwebs.proxool.CompositeConfigurationListener
 
definitionUpdated(ConnectionPoolDefinitionIF, Properties, Properties) - Method in interface org.logicalcobwebs.proxool.ConfigurationListenerIF
Gets called once after a pool has been updated.
DELEGATE_DRIVER - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Instead of defining the driver in the url you can also use this property
DELEGATE_DRIVER_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
DELEGATE_URL - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
DELEGATE_URL_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
deq - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
The DEQ array.
deqSize() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Current size of the task DEQ
destroy() - Method in class org.logicalcobwebs.proxool.configuration.ServletConfigurator
Shuts down Proxool by removing all connection pools.
disableShutdownHook() - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
If you call this then you'll have to call shutdown explicitly
dispose() - Method in class org.logicalcobwebs.proxool.configuration.AvalonConfigurator
If AvalonConfigurator.CLOSE_ON_DISPOSE_ATTRIBUTE is set: Close all connection pools that this configurator has configured.
divide(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Divide value by factor (i.e., set value /= factor)
doGet() - Method in class org.logicalcobwebs.concurrent.FutureResult
internal utility: either get the value or throw the exception
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
Show the details for a pool.
doNotify() - Method in class org.logicalcobwebs.proxool.PrototyperThread
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
DRIVER_CLASS - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Un-prefixed propety name for the Proxool driver class configuration property.
DRIVER_CLASS_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Prefixed propety name for the Proxool driver class configuration property.
DRIVER_PROPERTIES - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Element name for the container of properties passed directlry to the delegate driver.
DRIVER_URL - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Un-prefixed propety name for the Proxool driver url configuration property.
DRIVER_URL_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Prefixed propety name for the Proxool driver url configuration property.
duration - Variable in exception org.logicalcobwebs.concurrent.TimeoutException
The approximate time that the operation lasted before this timeout exception was thrown.

E

enableShutdownHook() - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Call this if you change your mind about disabling it.
endElement(String, String, String) - Method in class org.logicalcobwebs.proxool.configuration.XMLConfigurator
 
endRead() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
Called upon termination of a read.
endWrite() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
Called upon termination of a write.
ensureCapacity(int) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Increase the capacity of this ArrayList instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.
entryQueue - Variable in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Group-wide queue for tasks entered via execute()
equals(Object) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
 
equals(Object) - Method in class org.logicalcobwebs.proxool.ProxyConnection
Whether the underlying connections are equal
equals(Object) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Compare the specified object with this list for equality.
equals(Object) - Method in class org.logicalcobwebs.proxool.WrappedConnection
If the object passed to this method is actually a proxied version of this class then compare the real class with this one.
error(SAXParseException) - Method in class org.logicalcobwebs.proxool.configuration.XMLConfigurator
 
exception_ - Variable in class org.logicalcobwebs.concurrent.FutureResult
the exception encountered by operation producing result
execute(Runnable) - Method in interface org.logicalcobwebs.concurrent.Executor
Execute the given command.
execute(Runnable) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Arrange for execution of the given task by placing it in a work queue.
execute(Runnable) - Method in class org.logicalcobwebs.concurrent.SynchronizedVariable
If current thread is not interrupted, execute the given command within this object's lock
executeTask(FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Specialized form of execute called only from within FJTasks
Executor - Interface in org.logicalcobwebs.concurrent
Interface for objects that execute Runnables, as well as various objects that can be wrapped as Runnables.
extract() - Method in class org.logicalcobwebs.concurrent.LinkedQueue
Main mechanics for take/poll

F

FastArrayList - Class in org.logicalcobwebs.proxool.util
A customized implementation of java.util.ArrayList designed to operate in a multithreaded environment where the large majority of method calls are read-only, instead of structural changes.
FastArrayList() - Constructor for class org.logicalcobwebs.proxool.util.FastArrayList
Construct a an empty list.
FastArrayList(int) - Constructor for class org.logicalcobwebs.proxool.util.FastArrayList
Construct an empty list with the specified capacity.
FastArrayList(Collection) - Constructor for class org.logicalcobwebs.proxool.util.FastArrayList
Construct a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
FATAL_SQL_EXCEPTION - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
FATAL_SQL_EXCEPTION_DETECTED - Static variable in interface org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because a FATAL_SQL_EXCEPTION has been detected.
FATAL_SQL_EXCEPTION_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
FATAL_SQL_EXCEPTION_WRAPPER_CLASS - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
FATAL_SQL_EXCEPTION_WRAPPER_CLASS_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
FATAL_SQL_EXCEPTIONS_DELIMITER - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
 
fatalError(SAXParseException) - Method in class org.logicalcobwebs.proxool.configuration.XMLConfigurator
 
FatalRuntimeException - Exception in org.logicalcobwebs.proxool
A type of SQLException that has been defined as fatal.
FatalRuntimeException(Exception) - Constructor for exception org.logicalcobwebs.proxool.FatalRuntimeException
 
FatalSQLException - Exception in org.logicalcobwebs.proxool
A type of SQLException that has been defined as fatal.
FatalSQLException(SQLException) - Constructor for exception org.logicalcobwebs.proxool.FatalSQLException
 
FatalSQLException(SQLException, String, String) - Constructor for exception org.logicalcobwebs.proxool.FatalSQLException
 
finalize() - Method in class org.logicalcobwebs.proxool.ProxoolFacade
 
FJTask - Class in org.logicalcobwebs.concurrent
Abstract base class for Fork/Join Tasks.
FJTask() - Constructor for class org.logicalcobwebs.concurrent.FJTask
 
FJTask.Par - Class in org.logicalcobwebs.concurrent
A new Par, when executed, runs the tasks provided in the constructor in parallel using coInvoke(tasks).
FJTask.Par2 - Class in org.logicalcobwebs.concurrent
A new Par(task1, task2), when executed, runs task1 and task2 in parallel using coInvoke(task1, task2).
FJTask.Seq - Class in org.logicalcobwebs.concurrent
A new Seq, when executed, invokes each task provided in the constructor, in order.
FJTask.Seq2 - Class in org.logicalcobwebs.concurrent
A new Seq2(task1, task2), when executed, invokes task1 and then task2, in order.
FJTask.Wrap - Class in org.logicalcobwebs.concurrent
A FJTask that holds a Runnable r, and calls r.run when executed.
FJTaskRunner - Class in org.logicalcobwebs.concurrent
Specialized Thread subclass for running FJTasks.
FJTaskRunner(FJTaskRunnerGroup) - Constructor for class org.logicalcobwebs.concurrent.FJTaskRunner
Constructor called only during FJTaskRunnerGroup initialization
FJTaskRunner.VolatileTaskRef - Class in org.logicalcobwebs.concurrent
An object holding a single volatile reference to a FJTask.
FJTaskRunnerGroup - Class in org.logicalcobwebs.concurrent
A stripped down analog of a ThreadGroup used for establishing and managing FJTaskRunner threads.
FJTaskRunnerGroup(int) - Constructor for class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Create a FJTaskRunnerGroup with the indicated number of FJTaskRunner threads.
FJTaskRunnerGroup.InvokableFJTask - Class in org.logicalcobwebs.concurrent
Wrap wait/notify mechanics around a task so that invoke() can wait it out
fork() - Method in class org.logicalcobwebs.concurrent.FJTask
Arrange for execution of a strictly dependent task.
formatBigNumber(long) - Static method in class org.logicalcobwebs.proxool.FormatHelper
Format like ###000000
FormatHelper - Class in org.logicalcobwebs.proxool
Formats things as Strings
FormatHelper() - Constructor for class org.logicalcobwebs.proxool.FormatHelper
 
formatMediumNumber(long) - Static method in class org.logicalcobwebs.proxool.FormatHelper
Format like 0000
formatSmallNumber(long) - Static method in class org.logicalcobwebs.proxool.FormatHelper
Format like 00
fst - Variable in class org.logicalcobwebs.concurrent.FJTask.Par2
 
fst - Variable in class org.logicalcobwebs.concurrent.FJTask.Seq2
 
FutureResult - Class in org.logicalcobwebs.concurrent
A class maintaining a single reference variable serving as the result of an operation.
FutureResult() - Constructor for class org.logicalcobwebs.concurrent.FutureResult
Create an initially unset FutureResult

G

get() - Static method in class org.logicalcobwebs.concurrent.DefaultChannelCapacity
Get the default capacity used in default (no-argument) constructor for BoundedChannels that otherwise require a capacity argument.
get() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
Return the reference
get() - Method in class org.logicalcobwebs.concurrent.FutureResult
Access the reference, waiting if necessary until it is ready.
get() - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Return the current value
get(int) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return the element at the specified position in the list.
getActive(FJTaskRunner) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Return active status of t.
getActiveConnectionCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
The number of active (busy) connections
getActiveConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
The number of connections currently in use.
getActiveCount() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Return the number of threads that are not idly waiting for work.
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() - Method in class org.logicalcobwebs.proxool.WrappedConnection
Get the alias of the connection pool this connection belongs to
getAlias(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Extracts the pool alias from the url: proxool.alias:driver:url -> alias proxool.alias -> alias
getAlias(Connection) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Get the alias for the connection pool that served a connection
getAliases() - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Get a list of all the registered pools
getArray() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Return the array of threads in this group.
getAttribute(String) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
getAttributes(String[]) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
getAvailableConnectionCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
The number of available (free) connections
getAvailableConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
The number of connections that are available for use (doesn't include active connections).
getAverageActiveCount() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
The average number of active connections,
getAverageActiveTime() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
The average time that each connection spent active.
getBirthDate() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
Like ConnectionInfoIF.getBirthTime() but in Date format
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.
getConcreteMethod(Class, Method) - Static method in class org.logicalcobwebs.proxool.proxy.InvokerFacade
Returns the method in the concrete class with an indentical signature to that passed
getConcreteMethod(Method) - Method in class org.logicalcobwebs.proxool.proxy.MethodMapper
Returns the method in the concrete class with an indentical signature to that passed as a parameter
getConnection() - 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
getConnection(String, String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
getConnectionCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
 
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
getConnectionInfo(long) - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
The details of one connection.
getConnectionInfos() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
The details of each connection.
getConnectionInfos(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Deprecated.
use snapshot instead.
getConnectionPool() - Method in class org.logicalcobwebs.proxool.ProxyConnection
The ConnectionPool that this connection belongs to
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.admin.SnapshotIF
When the pool was started
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
Deprecated.
Just cast the connection that you are given into the driver specific one.
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
Deprecated.
Just cast the statement that you are given into the driver specific one.
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
 
getException() - Method in class org.logicalcobwebs.concurrent.FutureResult
Get the exception, or null if there isn't one (yet).
getFast() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Returns true if this list is operating in fast mode.
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
 
getFJTaskRunner() - Static method in class org.logicalcobwebs.concurrent.FJTask
Return the FJTaskRunner thread running the current FJTask.
getFJTaskRunnerGroup() - Static method in class org.logicalcobwebs.concurrent.FJTask
Return the FJTaskRunnerGroup of the thread running the current FJTask.
getGroup() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Return the FJTaskRunnerGroup of which this thread is a member
getHouseKeeperToRun() - Static method in class org.logicalcobwebs.proxool.HouseKeeperController
Get the next house keeper that needs to be run
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() - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
getId() - Method in class org.logicalcobwebs.proxool.WrappedConnection
The ID for the encapsulated ProxyConnection.
getId(Connection) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Get the connection ID for a connection
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
Get the most recent of all the ConnectionInfoIF.getSqlCalls()
getListeners() - Method in class org.logicalcobwebs.proxool.util.AbstractListenerContainer
Get a reference to the array of registered listeners.
getLock() - Method in class org.logicalcobwebs.concurrent.SynchronizedVariable
Return the lock used for all synchronization for this object
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.admin.SnapshotIF
Get the maximum possible connections (as defined in the definition.
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
Deprecated.
getMBeanInfo() - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
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
Deprecated.
getNotificationInfo() - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
getObjectInstance(Object, Name, Context, Hashtable) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
getObjectName(String) - Static method in class org.logicalcobwebs.proxool.admin.jmx.ProxoolJMXHelper
Get the prefered JMX object name for a Proxool pool.
getOfflineConnectionCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
The number of offline connections.
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
 
getPeriod() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
The length of time this sample represents,
getProperties() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
Deprecated.
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
 
getRefusedCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
How many connections have been refused since the pool started
getRefusedCount() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
The number of connections refused during this sample.
getRefusedPerSecond() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
The rate at which we have refused connections
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
getServedCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
How many connections have been served since the pool started
getServedCount() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
The number of connections served during this sample.
getServedPerSecond() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
The rate at which we have served connections
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) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Calls getSnapshot using false for the detail parameter.
getSnapshot(String, boolean) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Gives a snapshot of what the pool is doing
getSnapshot(ConnectionPoolStatisticsIF, ConnectionPoolDefinitionIF, Collection) - Static method in class org.logicalcobwebs.proxool.admin.Admin
Get a new snapshot
getSnapshotDate() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
The date that this snapshot applies
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
 
getStartDate() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
When this sample started.
getStatistics() - Method in class org.logicalcobwebs.proxool.admin.Admin
 
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) - Method in class org.logicalcobwebs.proxool.admin.Admin
Returns the most recent sample that has completed its period
getStatistics(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Get all the lastest performance statistics for this pool
getStatistics(String, String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Get a particular set of 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
 
getStopDate() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
When this sample stopped
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
 
getValidIdentifier(String) - Static method in class org.logicalcobwebs.proxool.admin.jmx.ProxoolJMXHelper
Generate a valid JMX identifier attribute name from a Proxool property name.
getVersion() - Static method in class org.logicalcobwebs.proxool.Version
 
group - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
The group of which this FJTaskRunner is a member

H

hashCode() - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
 
hashCode() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return the hash code value for this list.
head_ - Variable in class org.logicalcobwebs.concurrent.LinkedQueue
Dummy header node of list.
HOUSE_KEEPER_TEST_FAIL - Static variable in interface org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because the routine house keeper test failed
HOUSE_KEEPING_SLEEP_TIME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
HOUSE_KEEPING_SLEEP_TIME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
HOUSE_KEEPING_TEST_SQL - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
HOUSE_KEEPING_TEST_SQL_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
HouseKeeperController - Class in org.logicalcobwebs.proxool
Schedules when to run the house keeper
HouseKeeperController() - Constructor for class org.logicalcobwebs.proxool.HouseKeeperController
 
HouseKeeperThread - Class in org.logicalcobwebs.proxool
Responsible for running sweep
HouseKeeperThread(String) - Constructor for class org.logicalcobwebs.proxool.HouseKeeperThread
 

I

increment() - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Increment the value.
indexOf(Object) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Search for the first occurrence of the given argument, testing for equality using the equals() method, and return the corresponding index, or -1 if the object is not found.
init(ServletConfig) - Method in class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
 
init(ServletConfig) - Method in class org.logicalcobwebs.proxool.configuration.ServletConfigurator
 
initCause(Throwable) - Method in exception org.logicalcobwebs.proxool.ProxoolException
Initializes the cause of this exception to the specified value.
INITIAL_CAPACITY - Static variable in class org.logicalcobwebs.concurrent.FJTaskRunner
FJTasks are held in an array-based DEQ with INITIAL_CAPACITY elements.
INITIAL_DEFAULT_CAPACITY - Static variable in class org.logicalcobwebs.concurrent.DefaultChannelCapacity
The initial value of the default capacity is 1024
initialise(Connection) - Method in class org.logicalcobwebs.proxool.ConnectionResetter
This gets called every time we make a Connection.
initializeThreads() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Create all FJTaskRunner threads in this group.
INJECTABLE_CALLABLE_STATEMENT_INTERFACE_NAME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
INJECTABLE_CALLABLE_STATEMENT_INTERFACE_NAME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
INJECTABLE_CONNECTION_INTERFACE_NAME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
INJECTABLE_CONNECTION_INTERFACE_NAME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
INJECTABLE_PREPARED_STATEMENT_INTERFACE_NAME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
INJECTABLE_PREPARED_STATEMENT_INTERFACE_NAME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
INJECTABLE_STATEMENT_INTERFACE_NAME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
INJECTABLE_STATEMENT_INTERFACE_NAME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
insert(Object) - Method in class org.logicalcobwebs.concurrent.LinkedQueue
Main mechanics for put/offer
intercept(Object, Method, Object[], MethodProxy) - Method in class org.logicalcobwebs.proxool.WrappedConnection
Delegates to invoke
interruptAll() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Try to shut down all FJTaskRunner threads in this group by interrupting them all.
InvokableFJTask(Runnable) - Constructor for class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
 
invoke(Object, Method, Object[]) - Method in class org.logicalcobwebs.proxool.WrappedConnection
Delegates all operations to the encapsulated ProxyConnection except for: close() equals() hashCode() isClosed() getMetaData() finalize() It also spots mutators and remembers that the property has been changed so that it can be reset.
invoke(Runnable) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Start a task and wait it out.
invoke(String, Object[], String[]) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
invoke(FJTask) - Static method in class org.logicalcobwebs.concurrent.FJTask
Immediately execute task t by calling its run method.
InvokerFacade - Class in org.logicalcobwebs.proxool.proxy
Invokes a method using a cached method.
InvokerFacade() - Constructor for class org.logicalcobwebs.proxool.proxy.InvokerFacade
 
isActive() - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
isActive() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
 
isAvailable() - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
isAvailable() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
 
isClosed() - Method in class org.logicalcobwebs.proxool.ProxyConnection
Whether this connection is available.
isDetail() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
Whether we have requested detailed information about each connection
isDone() - Method in class org.logicalcobwebs.concurrent.FJTask
Return true if current task has terminated or been cancelled.
isEmpty() - Method in class org.logicalcobwebs.concurrent.LinkedQueue
 
isEmpty() - Method in class org.logicalcobwebs.proxool.util.AbstractListenerContainer
 
isEmpty() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Test if this list has no elements.
isEmpty() - Method in interface org.logicalcobwebs.proxool.util.ListenerContainerIF
Get wether this container is empty or not.
isJmx() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
Indicate wether this pool should be registered with JMX or not.
isJmx() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
isKeepSweeping() - Static method in class org.logicalcobwebs.proxool.PrototyperController
 
isMarkedForExpiry() - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
isMarkedForExpiry() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
Whether this connection is due for expiry
isNull() - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
isNull() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
 
isOffline() - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
isOffline() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
 
isReady() - Method in class org.logicalcobwebs.concurrent.FutureResult
Return whether the reference or exception have been set.
isReallyClosed() - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
isReallyClosed() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
Find out if the delegated connection is close.
isShutdownHookEnabled() - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Whether the ShutdownHook should do anything.
isSweepNeeded() - Method in class org.logicalcobwebs.proxool.Prototyper
 
isTestAfterUse() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
Whether we test each connection after it is closed (that is, returned to the pool)
isTestAfterUse() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
isTestBeforeUse() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
Whether we test each connection before it is served
isTestBeforeUse() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
isTrace() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
if this is true then we will log each execution.
isTrace() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
isVerbose() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
If this is true then we start logging a lot of stuff everytime we serve a connection and everytime the house keeper and prototyper run.
isVerbose() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
isWrapperFor(Class<?>) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
iterator() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return an iterator over the elements in this list in proper sequence.

J

JAXPConfigurator - Class in org.logicalcobwebs.proxool.configuration
Configurator that uses JAXP to get a parser for Proxool configuration xml.
JAXPConfigurator() - Constructor for class org.logicalcobwebs.proxool.configuration.JAXPConfigurator
 
jdbcCompliant() - Method in class org.logicalcobwebs.proxool.ProxoolDriver
 
JMX - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Configuration attribute used to indicate that a pool should be registered with JMX.
JMX - Static variable in interface org.logicalcobwebs.proxool.resources.ResourceNamesIF
Name of the jmx resource.
JMX_AGENT_ID - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Configuration attribute for a list of jmx agent ids to register a ConnectionPoolMBean to.
JMX_AGENT_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
"proxool." prefixed version of ProxoolConstants.JMX_AGENT_ID.
JMX_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
"proxool." prefixed version of ProxoolConstants.JMX.
JNDI_NAME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
JNDI_NAME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
JNDI_PROPERTY_PREFIX - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Prefix for generic JNDI properties.
join() - Method in class org.logicalcobwebs.concurrent.FJTask
Yield until this task isDone.

K

killAllConnections(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Deprecated.
use alternative to provide better auditing in log
killAllConnections(String, boolean) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Deprecated.
use alternative to provide better auditing in log
killAllConnections(String, String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
killAllConnections(String, String, boolean) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Kill all connections in a pool.
killConnecton(String, long, boolean) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Kill a single connection
killConnecton(Connection, boolean) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Kill a single connection

L

last_ - Variable in class org.logicalcobwebs.concurrent.LinkedQueue
The last node of list.
lastIndexOf(Object) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Search for the last occurrence of the given argument, testing for equality using the equals() method, and return the corresponding index, or -1 if the object is not found.
LinkedNode - Class in org.logicalcobwebs.concurrent
A standard linked list node used in various queue classes
LinkedNode() - Constructor for class org.logicalcobwebs.concurrent.LinkedNode
 
LinkedNode(Object) - Constructor for class org.logicalcobwebs.concurrent.LinkedNode
 
LinkedNode(Object, LinkedNode) - Constructor for class org.logicalcobwebs.concurrent.LinkedNode
 
LinkedQueue - Class in org.logicalcobwebs.concurrent
A linked list based channel implementation.
LinkedQueue() - Constructor for class org.logicalcobwebs.concurrent.LinkedQueue
 
ListenerContainerIF - Interface in org.logicalcobwebs.proxool.util
A container for event listeners.
listIterator() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return an iterator of the elements of this list, in proper sequence.
listIterator(int) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return an iterator of the elements of this list, in proper sequence, starting at the specified position.
lock_ - Variable in class org.logicalcobwebs.concurrent.SynchronizedVariable
 

M

main(String[]) - Static method in class org.logicalcobwebs.proxool.Version
Convenient way of verifying version
MANUAL_EXPIRY - Static variable in interface org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because it's manually been expired (by something external to Proxool)
MARK_FOR_EXPIRY - Static variable in interface org.logicalcobwebs.proxool.ConnectionInfoIF
The next time this connection is made available we should expire it.
MARK_FOR_USE - Static variable in interface org.logicalcobwebs.proxool.ConnectionInfoIF
Default - treat as normal
markForExpiry(String) - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
markForExpiry(String) - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
Mark this connection for expiry (destruction) as soon as it stops being active.
MAX_CAPACITY - Static variable in class org.logicalcobwebs.concurrent.FJTaskRunner
The maximum supported DEQ capacity.
MAXIMUM_ACTIVE_TIME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
MAXIMUM_ACTIVE_TIME_EXPIRED - Static variable in interface org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because the MAXIMUM_ACTIVE_TIME has been exceeded.
MAXIMUM_ACTIVE_TIME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
MAXIMUM_CONNECTION_COUNT - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
MAXIMUM_CONNECTION_COUNT_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
MAXIMUM_CONNECTION_LIFETIME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
MAXIMUM_CONNECTION_LIFETIME_EXCEEDED - Static variable in interface org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because it's MAXIMUM_CONNECTION_LIFETIME has been exceeded.
MAXIMUM_CONNECTION_LIFETIME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
MAXIMUM_NEW_CONNECTIONS - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
MAXIMUM_NEW_CONNECTIONS_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
MethodMapper - Class in org.logicalcobwebs.proxool.proxy
Handles the mapping between methods with identical signatures but that are not related by inheritance.
MethodMapper(Class) - Constructor for class org.logicalcobwebs.proxool.proxy.MethodMapper
 
MINIMUM_CONNECTION_COUNT - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
MINIMUM_CONNECTION_COUNT_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
multiply(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Multiply value by factor (i.e., set value *= factor)
MUTATOR_PREFIX - Static variable in class org.logicalcobwebs.proxool.ConnectionResetter
We use this to guess if we are changing a property that will need resetting

N

negate() - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Set the value to the negative of its old value
newArray(int) - Static method in class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
Initialization utility for constructing arrays.
next - Variable in class org.logicalcobwebs.concurrent.LinkedNode
 
NOTIFICATION_TYPE_DEFINITION_UPDATED - Static variable in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
Notification type emitted when the pool definition is updated.
nstarted - Variable in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Number of threads that have been started.

O

offer(Object, long) - Method in interface org.logicalcobwebs.concurrent.Channel
Place item in channel only if it can be accepted within msecs milliseconds.
offer(Object, long) - Method in class org.logicalcobwebs.concurrent.LinkedQueue
 
offer(Object, long) - Method in interface org.logicalcobwebs.concurrent.Puttable
Place item in channel only if it can be accepted within msecs milliseconds.
onBirth(Connection) - Method in class org.logicalcobwebs.proxool.CompositeConnectionListener
 
onBirth(Connection) - Method in interface org.logicalcobwebs.proxool.ConnectionListenerIF
Happens everytime we create a new connection.
onDeath(Connection, int) - Method in class org.logicalcobwebs.proxool.CompositeConnectionListener
 
onDeath(Connection, int) - Method in interface org.logicalcobwebs.proxool.ConnectionListenerIF
Happens just before we expire a connection.
ONE_CENTURY - Static variable in interface org.logicalcobwebs.concurrent.Sync
One century in milliseconds; convenient as a time-out value
ONE_DAY - Static variable in interface org.logicalcobwebs.concurrent.Sync
One day, in milliseconds; convenient as a time-out value
ONE_HOUR - Static variable in interface org.logicalcobwebs.concurrent.Sync
One hour, in milliseconds; convenient as a time-out value
ONE_MINUTE - Static variable in interface org.logicalcobwebs.concurrent.Sync
One minute, in milliseconds; convenient as a time-out value
ONE_SECOND - Static variable in interface org.logicalcobwebs.concurrent.Sync
One second, in milliseconds; convenient as a time-out value
ONE_WEEK - Static variable in interface org.logicalcobwebs.concurrent.Sync
One week, in milliseconds; convenient as a time-out value
ONE_YEAR - Static variable in interface org.logicalcobwebs.concurrent.Sync
One year in milliseconds; convenient as a time-out value
onExecute(String, long) - Method in class org.logicalcobwebs.proxool.CompositeConnectionListener
 
onExecute(String, long) - Method in interface org.logicalcobwebs.proxool.ConnectionListenerIF
Happens after every successful execute.
onFail(String, Exception) - Method in class org.logicalcobwebs.proxool.CompositeConnectionListener
 
onFail(String, Exception) - Method in interface org.logicalcobwebs.proxool.ConnectionListenerIF
Happens everytime an exception was thrown during an execute method Note that the command is not fully implemented at this stage.
onRegistration(ConnectionPoolDefinitionIF, Properties) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
Not used.
onRegistration(ConnectionPoolDefinitionIF, Properties) - Method in class org.logicalcobwebs.proxool.CompositeProxoolListener
 
onRegistration(ConnectionPoolDefinitionIF, Properties) - Method in interface org.logicalcobwebs.proxool.ProxoolListenerIF
Notify that a new connection pool has been registered.
onShutdown(String) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
If the given alias equals this pools alias: Unregister this JMX bean.
onShutdown(String) - Method in class org.logicalcobwebs.proxool.CompositeProxoolListener
 
onShutdown(String) - Method in interface org.logicalcobwebs.proxool.ProxoolListenerIF
Notify that a connection pool will be shutdown.
open() - Method in class org.logicalcobwebs.proxool.ProxyConnection
This gets called /just/ before a connection is served.
or(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Set value to value | b.
org.logicalcobwebs.concurrent - package org.logicalcobwebs.concurrent
Concurrency utilities.
org.logicalcobwebs.proxool - package org.logicalcobwebs.proxool
A Java SQL Driver that provides a connection pool wrapper around another Driver of your choice.
org.logicalcobwebs.proxool.admin - package org.logicalcobwebs.proxool.admin
Provides statistical information on each pool.
org.logicalcobwebs.proxool.admin.jmx - package org.logicalcobwebs.proxool.admin.jmx
Contains an MBean adapter to manage pools through JMX plus a utility to register/deregister these beans.
org.logicalcobwebs.proxool.admin.jndi - package org.logicalcobwebs.proxool.admin.jndi
Contains a helper that can create a Proxool datasource and bind it to JNDI.
org.logicalcobwebs.proxool.admin.servlet - package org.logicalcobwebs.proxool.admin.servlet
The AdminServlet provides information about running pools.
org.logicalcobwebs.proxool.configuration - package org.logicalcobwebs.proxool.configuration
Helpers for configuring Proxool from various sources.
org.logicalcobwebs.proxool.proxy - package org.logicalcobwebs.proxool.proxy
 
org.logicalcobwebs.proxool.resources - package org.logicalcobwebs.proxool.resources
 
org.logicalcobwebs.proxool.util - package org.logicalcobwebs.proxool.util
 
OUTPUT_FULL - Static variable in class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
OUtput full HTML including <HTML>, <HEAD> and <BODY> tags.
OUTPUT_SIMPLE - Static variable in class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
OUtput simple HTML excluding <HTML>, <HEAD> and <BODY> tags.
OVERLOAD_WITHOUT_REFUSAL_LIFETIME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
OVERLOAD_WITHOUT_REFUSAL_LIFETIME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
overrideConcreteMethod(Class, Method, Method) - Static method in class org.logicalcobwebs.proxool.proxy.InvokerFacade
overrideConcreteMethod(Method, Method) - Method in class org.logicalcobwebs.proxool.proxy.MethodMapper
Don't use the one we calculate using MethodMapper.getConcreteMethod(java.lang.reflect.Method), use this one instead.

P

par(FJTask[]) - Static method in class org.logicalcobwebs.concurrent.FJTask
Construct and return a FJTask object that, when executed, will invoke the tasks in the tasks array in parallel using coInvoke
par(FJTask, FJTask) - Static method in class org.logicalcobwebs.concurrent.FJTask
Construct and return a FJTask object that, when executed, will invoke task1 and task2, in parallel
Par(FJTask[]) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Par
Construct a Seq that, when executed, will process each of the tasks in the tasks array in parallel
Par(FJTask, FJTask) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Par
Two-task constructor, for compatibility with previous release.
Par2(FJTask, FJTask) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Par2
 
PASSWORD_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
 
PASSWORD_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Standard JDBC property
peek() - Method in interface org.logicalcobwebs.concurrent.Channel
Return, but do not remove object at head of Channel, or null if it is empty.
peek() - Method in class org.logicalcobwebs.concurrent.FutureResult
Access the reference, even if not ready
peek() - Method in class org.logicalcobwebs.concurrent.LinkedQueue
 
poll(long) - Method in interface org.logicalcobwebs.concurrent.Channel
Return and remove an item from channel only if one is available within msecs milliseconds.
poll(long) - Method in class org.logicalcobwebs.concurrent.LinkedQueue
 
poll(long) - Method in interface org.logicalcobwebs.concurrent.Takable
Return and remove an item from channel only if one is available within msecs milliseconds.
pollEntryQueue() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Return a task from entry queue, or null if empty.
pop() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Return a popped task, or null if DEQ is empty.
postDeregister() - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
postRegister(Boolean) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
preDeregister() - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
PREFIX - Static variable in class org.logicalcobwebs.proxool.configuration.PropertyConfigurator
 
preRegister(MBeanServer, ObjectName) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
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
Controls the prototypers
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
 
ProxoolJMXHelper - Class in org.logicalcobwebs.proxool.admin.jmx
Utilities for Proxool JMX instrumentation.
ProxoolJNDIHelper - Class in org.logicalcobwebs.proxool.admin.jndi
Utilities for Proxool JNDI operations.
ProxoolListenerIF - Interface in org.logicalcobwebs.proxool
Listener for global Proxool events.
ProxyConnection - Class in org.logicalcobwebs.proxool
Manages a connection.
ProxyConnection(Connection, long, String, ConnectionPool, ConnectionPoolDefinitionIF, int) - Constructor for class org.logicalcobwebs.proxool.ProxyConnection
 
ProxyConnectionIF - Interface in org.logicalcobwebs.proxool
Contains most of the functionality that we require to manipilate the connection.
push(FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Push a task onto DEQ.
put(Object) - Method in interface org.logicalcobwebs.concurrent.Channel
Place item in the channel, possibly waiting indefinitely until it can be accepted.
put(Object) - Method in class org.logicalcobwebs.concurrent.LinkedQueue
 
put(Object) - Method in interface org.logicalcobwebs.concurrent.Puttable
Place item in the channel, possibly waiting indefinitely until it can be accepted.
put(FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Enqueue task at base of DEQ.
put(FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
Set the reference
putLock_ - Variable in class org.logicalcobwebs.concurrent.LinkedQueue
Helper monitor for managing access to last node.
Puttable - Interface in org.logicalcobwebs.concurrent
This interface exists to enable stricter type checking for channels.

Q

quickRefuse() - Method in class org.logicalcobwebs.proxool.Prototyper
Give a quick answer to whether we should attempt to build a connection.

R

ReaderLock() - Constructor for class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.ReaderLock
 
readerLock_ - Variable in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
ReaderPreferenceReadWriteLock - Class in org.logicalcobwebs.concurrent
A ReadWriteLock that prefers waiting readers over waiting writers when there is contention.
ReaderPreferenceReadWriteLock() - Constructor for class org.logicalcobwebs.concurrent.ReaderPreferenceReadWriteLock
 
readLock() - Method in interface org.logicalcobwebs.concurrent.ReadWriteLock
get the readLock
readLock() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
ReadWriteLock - Interface in org.logicalcobwebs.concurrent
ReadWriteLocks maintain a pair of associated locks.
ready_ - Variable in class org.logicalcobwebs.concurrent.FutureResult
Status -- true after first set
reallyClose() - Method in class org.logicalcobwebs.proxool.ProxyConnection
Close the connection for real
reallyClose() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
Really close the connection, as opposed to just putting it back in the pool.
RECENTLY_STARTED_THRESHOLD - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
RECENTLY_STARTED_THRESHOLD_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
redefineConnectionPool(String, Properties) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Redefine the behaviour of the pool.
ref - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
The reference
register(ConnectionPool) - Static method in class org.logicalcobwebs.proxool.HouseKeeperController
Schedule a regular triggerSweep
registerClosedStatement(Statement) - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
registerClosedStatement(Statement) - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
Notify that a statement has been closed and won't need closing when the connection is returned to the poo.
registerConnectionPool(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
With no configurator or properties (using default values)
registerConnectionPool(String, Properties) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Build a ConnectionPool based on this definition and then start it.
registerConnectionPool(String, Properties, boolean) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Build a ConnectionPool based on this definition and then start it.
registerConnectionPool(ConnectionPoolDefinition) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
 
registerDatasource(String, Properties) - Static method in class org.logicalcobwebs.proxool.admin.jndi.ProxoolJNDIHelper
Create a ProxoolDataSource with the given alias and bind it to JNDI using the given jndi properties.
registerPool(String, Properties) - Static method in class org.logicalcobwebs.proxool.admin.jmx.ProxoolJMXHelper
Create and register a ConnectionPoolMBean to the given agents.
release() - Method in interface org.logicalcobwebs.concurrent.Sync
Potentially enable others to pass.
release() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.ReaderLock
 
release() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.WriterLock
 
remove(int) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Remove the element at the specified position in the list, and shift any subsequent elements down one position.
remove(Object) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Remove the first occurrence of the specified element from the list, and shift any subsequent elements down one position.
removeAll(Collection) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Remove from this collection all of its elements that are contained in the specified collection.
removeAllConnectionPools(int) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Deprecated.
use the better named shutdown() instead.
removeConfigurationListener(String, ConfigurationListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Remove a listener that gets called everytime the configuration changes.
removeConnectionListener(String, ConnectionListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Remove a listener that monitors each time a connection is made or destroyed.
removeConnectionPool(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
removeConnectionPool(String, int) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Remove a connection pool.
removeListener(Object) - Method in class org.logicalcobwebs.proxool.util.AbstractListenerContainer
 
removeListener(Object) - Method in interface org.logicalcobwebs.proxool.util.ListenerContainerIF
Remove a listener from this container.
removeNotificationListener(NotificationListener) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
removeProxoolListener(ProxoolListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Remove a registered ProxoolListenerIF.
removeStateListener(String, StateListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Remove a listener that monitors the change of state of the pool (quiet, busy, overloaded, or down)
reset() - Method in class org.logicalcobwebs.concurrent.FJTask
Clear the termination status of this task.
reset(Connection, String) - Method in class org.logicalcobwebs.proxool.ConnectionResetter
Reset this connection to its default values.
RESET_FAIL - Static variable in interface org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because it couldn't be reset after it was returned to the pool and we don't want to give it out again in an unknown state.
ResourceNamesIF - Interface in org.logicalcobwebs.proxool.resources
Constants for Proxool resource names.
retainAll(Collection) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Remove from this collection all of its elements except those that are contained in the specified collection.
ROLE - Static variable in class org.logicalcobwebs.proxool.configuration.AvalonConfigurator
Avalon ROLE id for this component.
run() - Method in class org.logicalcobwebs.concurrent.FJTask.Par
 
run() - Method in class org.logicalcobwebs.concurrent.FJTask.Par2
 
run() - Method in class org.logicalcobwebs.concurrent.FJTask.Seq
 
run() - Method in class org.logicalcobwebs.concurrent.FJTask.Seq2
 
run() - Method in class org.logicalcobwebs.concurrent.FJTask.Wrap
 
run() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Main runloop
run() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
 
run() - Method in class org.logicalcobwebs.proxool.HouseKeeperThread
 
run() - Method in class org.logicalcobwebs.proxool.PrototyperThread
 
runnable - Variable in class org.logicalcobwebs.concurrent.FJTask.Wrap
 
runPriority - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
Priority to use while running tasks
runs - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
Total number of tasks run

S

scan(FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Do all but the pop() part of yield or join, by traversing all DEQs in our group looking for a task to steal.
scanPriority - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
Priority to use while scanning for work
scans - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
Total number of queues scanned for work
scanWhileIdling() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Same as scan, but called when current thread is idling.
seq(FJTask[]) - Static method in class org.logicalcobwebs.concurrent.FJTask
Construct and return a FJTask object that, when executed, will invoke the tasks in the tasks array in array order
seq(FJTask, FJTask) - Static method in class org.logicalcobwebs.concurrent.FJTask
Construct and return a FJTask object that, when executed, will invoke task1 and task2, in order
Seq(FJTask[]) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Seq
Construct a Seq that, when executed, will process each of the tasks in the tasks array in order
Seq(FJTask, FJTask) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Seq
Two-task constructor, for compatibility with previous release.
Seq2(FJTask, FJTask) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Seq2
 
ServletConfigurator - Class in org.logicalcobwebs.proxool.configuration
Allows you to configure Proxool using a servlet.
ServletConfigurator() - Constructor for class org.logicalcobwebs.proxool.configuration.ServletConfigurator
 
set(int) - Static method in class org.logicalcobwebs.concurrent.DefaultChannelCapacity
Set the default capacity used in default (no-argument) constructor for BoundedChannels that otherwise require a capacity argument.
set(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Set to newValue.
set(int, Object) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Replace the element at the specified position in this list with the specified element.
set(Object) - Method in class org.logicalcobwebs.concurrent.FutureResult
Set the reference, and signal that it is ready.
setActive(FJTaskRunner) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Set active status of thread t to true, and notify others that might be waiting for work.
setAlias(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setAttribute(Attribute) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
setAttributes(AttributeList) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
 
setBirthTime(long) - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
setConfigurationListener(String, ConfigurationListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
setConnectionListener(String, ConnectionListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
setDelegateProperties(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
Set any property that should be handed to the delegate driver.
setDone() - Method in class org.logicalcobwebs.concurrent.FJTask
Indicate termination.
setDriver(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setDriverUrl(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setException(Throwable) - Method in class org.logicalcobwebs.concurrent.FutureResult
Set the exception field, also setting ready status.
setFast(boolean) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Sets whether this list will operate in fast mode.
setFatalSqlExceptionsAsString(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setFatalSqlExceptionWrapperClass(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setHouseKeepingSleepTime(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setHouseKeepingTestSql(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setId(long) - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
setInactive(FJTaskRunner) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Set active status of thread t to false.
setJmx(boolean) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setJmxAgentId(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setLoginTimeout(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setLogWriter(PrintWriter) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setMaximumActiveTime(long) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setMaximumConnectionCount(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setMaximumConnectionLifetime(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setMinimumConnectionCount(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setNeedToReset(boolean) - Method in class org.logicalcobwebs.proxool.ProxyConnection
The subclass should call this to indicate that a change has been made to the connection that might mean it needs to be reset (like setting autoCommit to false or something).
setOverloadWithoutRefusalLifetime(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setPassword(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setPrototypeCount(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setRecentlyStartedThreshold(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setRequester(String) - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
setRequester(String) - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
 
setRunPriorities(int) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Set the priority to use while a FJTaskRunner is actively running tasks.
setRunPriority(int) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Set the priority to use while running tasks.
setScanPriorities(int) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Set the priority to use while a FJTaskRunner is polling for new tasks to perform.
setScanPriority(int) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Set the priority to use while scanning.
setShutdownHook(Thread) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
By remembering the most recent ShutdownHook ProxoolFacade will know to disable it when it is ProxoolFacade.shutdown().
setSimultaneousBuildThrottle(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setStateListener(String, StateListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
setStatistics(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setStatisticsLogLevel(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setStatus(int) - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
setStatus(int) - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
Forces the new status regardless of the old state
setStatus(int, int) - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
setStatus(int, int) - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
Changes the status and lets the ConnectionPool know so that it can keep count of how many connections are at each status.
setter(Callable) - Method in class org.logicalcobwebs.concurrent.FutureResult
Return a Runnable object that, when run, will set the result value.
setTerminated() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
 
setTestAfterUse(boolean) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setTestBeforeUse(boolean) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setTimeLastStartActive(long) - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
setTimeLastStopActive(long) - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
setTrace(boolean) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setTriggerResetException(boolean) - Static method in class org.logicalcobwebs.proxool.ConnectionResetter
Called by a unit test.
setUser(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
setVerbose(boolean) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
shutdown() - Static method in class org.logicalcobwebs.proxool.HouseKeeperController
Stop all house keeper threads.
shutdown() - Static method in class org.logicalcobwebs.proxool.PrototyperController
Stop all house keeper threads
shutdown() - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Removes all connection pools.
shutdown(int) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Removes all connection pools.
shutdown(String, int) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Removes all connection pools.
SHUTDOWN - Static variable in interface org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because Proxool is shutting down
Signaller() - Constructor for class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.Signaller
 
signalNewTask() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Start or wake up any threads waiting for work
SIMULTANEOUS_BUILD_THROTTLE - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
SIMULTANEOUS_BUILD_THROTTLE_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
size() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Return the number of FJTaskRunner threads in this group
size() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return the number of elements in this list.
slowCoInvoke(FJTask[]) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Backup to handle atypical or noninlinable cases of coInvoke
slowCoInvoke(FJTask, FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Backup to handle noninlinable cases of coInvoke
slowPush(FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Handle slow case for push
SnapshotIF - Interface in org.logicalcobwebs.proxool.admin
Provides a snapshot of a pool
snd - Variable in class org.logicalcobwebs.concurrent.FJTask.Par2
 
snd - Variable in class org.logicalcobwebs.concurrent.FJTask.Seq2
 
start() - Method in class org.logicalcobwebs.concurrent.FJTask
Execute this task.
startElement(String, String, String, Attributes) - Method in class org.logicalcobwebs.proxool.configuration.XMLConfigurator
 
startRead() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
startReadFromNewReader() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
startReadFromWaitingReader() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
startWrite() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
startWriteFromNewWriter() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
startWriteFromWaitingWriter() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
STATE_BUSY - Static variable in interface org.logicalcobwebs.proxool.StateListenerIF
 
STATE_DOWN - Static variable in interface org.logicalcobwebs.proxool.StateListenerIF
 
STATE_OVERLOADED - Static variable in interface org.logicalcobwebs.proxool.StateListenerIF
 
STATE_QUIET - Static variable in interface org.logicalcobwebs.proxool.StateListenerIF
 
StateListenerIF - Interface in org.logicalcobwebs.proxool
Monitors the state of the pool so you can see whether it is quiet, busy, overloaded, or down.
statistics(String, StatisticsIF) - Method in class org.logicalcobwebs.proxool.admin.CompositeStatisticsListener
 
statistics(String, StatisticsIF) - Method in interface org.logicalcobwebs.proxool.admin.StatisticsListenerIF
A new set of statistics have just been produced
statistics(String, StatisticsIF) - Method in class org.logicalcobwebs.proxool.admin.StatisticsLogger
 
STATISTICS - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
STATISTICS_LOG_LEVEL - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
STATISTICS_LOG_LEVEL_DEBUG - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
STATISTICS_LOG_LEVEL_INFO - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
STATISTICS_LOG_LEVEL_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
STATISTICS_LOG_LEVEL_TRACE - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
STATISTICS_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
StatisticsIF - Interface in org.logicalcobwebs.proxool.admin
Provides statistical performance information for a period ot time.
StatisticsListenerIF - Interface in org.logicalcobwebs.proxool.admin
Listen for new statistics as they are produced.
StatisticsLogger - Class in org.logicalcobwebs.proxool.admin
Listens to statistics and logs them
StatisticsLogger(Log, String) - Constructor for class org.logicalcobwebs.proxool.admin.StatisticsLogger
 
stats() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Prints various snapshot statistics to System.out.
STATUS_ACTIVE - Static variable in interface org.logicalcobwebs.proxool.ConnectionInfoIF
The connection is in use
STATUS_AVAILABLE - Static variable in interface org.logicalcobwebs.proxool.ConnectionInfoIF
The connection is available for use
STATUS_NULL - Static variable in interface org.logicalcobwebs.proxool.ConnectionInfoIF
This is the start and end state of every connection
STATUS_OFFLINE - Static variable in interface org.logicalcobwebs.proxool.ConnectionInfoIF
The connection is in use by the house keeping thread
steals - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
Total number of tasks obtained via scan
subList(int, int) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return a view of the portion of this list between fromIndex (inclusive) and toIndex (exclusive).
subtract(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Subtract amount from value (i.e., set value -= amount)
swap(SynchronizedInt) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Atomically swap values with another SynchronizedInt.
sweep() - Method in class org.logicalcobwebs.proxool.Prototyper
Trigger prototyping immediately
sweepNow(String) - Static method in class org.logicalcobwebs.proxool.HouseKeeperController
 
sweepStarted() - Static method in class org.logicalcobwebs.proxool.PrototyperController
 
Sync - Interface in org.logicalcobwebs.concurrent
Main interface for locks, gates, and conditions.
SynchronizedInt - Class in org.logicalcobwebs.concurrent
A class useful for offloading synch for int instance variables.
SynchronizedInt(int) - Constructor for class org.logicalcobwebs.concurrent.SynchronizedInt
Make a new SynchronizedInt with the given initial value, and using its own internal lock.
SynchronizedInt(int, Object) - Constructor for class org.logicalcobwebs.concurrent.SynchronizedInt
Make a new SynchronizedInt with the given initial value, and using the supplied lock.
SynchronizedVariable - Class in org.logicalcobwebs.concurrent
Base class for simple, small classes maintaining single values that are always accessed and updated under synchronization.
SynchronizedVariable() - Constructor for class org.logicalcobwebs.concurrent.SynchronizedVariable
Create a SynchronizedVariable using itself as the lock
SynchronizedVariable(Object) - Constructor for class org.logicalcobwebs.concurrent.SynchronizedVariable
Create a SynchronizedVariable using the supplied lock

T

Takable - Interface in org.logicalcobwebs.concurrent
This interface exists to enable stricter type checking for channels.
take() - Method in interface org.logicalcobwebs.concurrent.Channel
Return and remove an item from channel, possibly waiting indefinitely until such an item exists.
take() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Take a task from the base of the DEQ.
take() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
Return the reference and clear it
take() - Method in class org.logicalcobwebs.concurrent.LinkedQueue
 
take() - Method in interface org.logicalcobwebs.concurrent.Takable
Return and remove an item from channel, possibly waiting indefinitely until such an item exists.
taskJoin(FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Process tasks until w is done.
tasks - Variable in class org.logicalcobwebs.concurrent.FJTask.Par
 
tasks - Variable in class org.logicalcobwebs.concurrent.FJTask.Seq
 
taskYield() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
Execute a task in this thread.
terminated - Variable in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
 
TEST_AFTER_USE - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
TEST_AFTER_USE_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
TEST_BEFORE_USE - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
TEST_BEFORE_USE_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
threads - Variable in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
The threads in this group
timedGet(long) - Method in class org.logicalcobwebs.concurrent.FutureResult
Wait at most msecs to access the reference.
TimeoutException - Exception in org.logicalcobwebs.concurrent
Thrown by synchronization classes that report timeouts via exceptions.
TimeoutException(long) - Constructor for exception org.logicalcobwebs.concurrent.TimeoutException
Constructs a TimeoutException with given duration value.
TimeoutException(long, String) - Constructor for exception org.logicalcobwebs.concurrent.TimeoutException
Constructs a TimeoutException with the specified duration value and detail message.
toArray() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return an array containing all of the elements in this list in the correct order.
toArray(Object[]) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return an array containing all of the elements in this list in the correct order.
top - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
Current top of DEQ.
toString() - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
 
toString() - Method in class org.logicalcobwebs.proxool.ProxyConnection
 
toString() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Return a String representation of this object.
toString() - Method in class org.logicalcobwebs.proxool.WrappedConnection
 
TRACE - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
TRACE_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
triggerResetException - Static variable in class org.logicalcobwebs.proxool.ConnectionResetter
 
triggerSweep() - Method in class org.logicalcobwebs.proxool.Prototyper
 
triggerSweep(String) - Static method in class org.logicalcobwebs.proxool.PrototyperController
Trigger prototyping immediately.
trimToSize() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
Trim the capacity of this ArrayList instance to be the list's current size.

U

unregisterPool(String, Properties) - Static method in class org.logicalcobwebs.proxool.admin.jmx.ProxoolJMXHelper
Unregister a ConnectionPoolMBean from the given agents.
unwrap(Class<T>) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
 
updateConnectionPool(String, Properties) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
Update the behaviour of the pool.
upStateChanged(int) - Method in class org.logicalcobwebs.proxool.CompositeStateListener
 
upStateChanged(int) - Method in interface org.logicalcobwebs.proxool.StateListenerIF
 
URL_DELIMITER - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
USER_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
 
USER_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
Standard JDBC property

V

validate(ConnectionPoolDefinitionIF, Connection) - Method in interface org.logicalcobwebs.proxool.ConnectionValidatorIF
 
validate(ConnectionPoolDefinitionIF, Connection) - Method in class org.logicalcobwebs.proxool.DefaultConnectionValidator
 
VALIDATION_FAIL - Static variable in interface org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because it has not been validated.
value - Variable in class org.logicalcobwebs.concurrent.LinkedNode
 
value_ - Variable in class org.logicalcobwebs.concurrent.FutureResult
The result of the operation
value_ - Variable in class org.logicalcobwebs.concurrent.SynchronizedInt
 
VERBOSE - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
VERBOSE_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
 
Version - Class in org.logicalcobwebs.proxool
Tells you the version.
Version() - Constructor for class org.logicalcobwebs.proxool.Version
 
victimRNG - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
Random starting point generator for scan()
VolatileTaskRef() - Constructor for class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
 

W

waitingForTake_ - Variable in class org.logicalcobwebs.concurrent.LinkedQueue
The number of threads waiting for a take.
waitingReaders_ - Variable in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
waitingWriters_ - Variable in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
warning(SAXParseException) - Method in class org.logicalcobwebs.proxool.configuration.XMLConfigurator
 
Wrap(Runnable) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Wrap
 
wrapped - Variable in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
 
WrappedConnection - Class in org.logicalcobwebs.proxool
Wraps up a ProxyConnection.
WrappedConnection(ProxyConnection) - Constructor for class org.logicalcobwebs.proxool.WrappedConnection
Construct this wrapper around the proxy connection
writeLock() - Method in interface org.logicalcobwebs.concurrent.ReadWriteLock
get the writeLock
writeLock() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
WriterLock() - Constructor for class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.WriterLock
 
writerLock_ - Variable in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
WriterPreferenceReadWriteLock - Class in org.logicalcobwebs.concurrent
A ReadWriteLock that prefers waiting writers over waiting readers when there is contention.
WriterPreferenceReadWriteLock() - Constructor for class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
 
WriterPreferenceReadWriteLock.ReaderLock - Class in org.logicalcobwebs.concurrent
 
WriterPreferenceReadWriteLock.Signaller - Class in org.logicalcobwebs.concurrent
Reader and Writer requests are maintained in two different wait sets, by two different objects.
WriterPreferenceReadWriteLock.WriterLock - Class in org.logicalcobwebs.concurrent
 

X

XMLConfigurator - Class in org.logicalcobwebs.proxool.configuration
A SAX 2 ContentHandler that can configure Proxool from an XML source.
XMLConfigurator() - Constructor for class org.logicalcobwebs.proxool.configuration.XMLConfigurator
 
xor(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
Set value to value ^ b.

Y

yield() - Static method in class org.logicalcobwebs.concurrent.FJTask
Allow the current underlying FJTaskRunner thread to process other tasks.
A B C D E F G H I J K L M N O P Q R S T U V W X Y 
All Classes All Packages