Alphabetical Index

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

A

AbstractListenerContainer - class org.logicalcobwebs.proxool.util.AbstractListenerContainer
Implementation of ListenerContainerIF that uses a reads/write lock to handle concurrency in a safe and fast way.
acceptsURL(String) - method in class org.logicalcobwebs.proxool.ProxoolDriver
acquire() - method in class 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 - field 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 - field in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Number of threads that are not waiting for work *
activeReaders_ - field in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
activeWriter_ - field 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(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.
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.
Adds a listener that gets called everytime the configuration changes.
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 class org.logicalcobwebs.proxool.util.ListenerContainerIF
Add a listener to this container.
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(org.logicalcobwebs.proxool.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
Add a listener that monitors the change of state of the pool (quiet, busy, overloaded, or down)
Add a listener that receives statistics as they are produced
Admin - class org.logicalcobwebs.proxool.admin.Admin
Provides statistics about the performance of a pool.
Admin(org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF) - constructor for class org.logicalcobwebs.proxool.admin.Admin
AdminServlet - class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
Use this to admin each pool within Proxool.
ALIAS - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Un-prefixed propety name for the Proxool alias configuration property.
ALIAS_DELIMITER - static field in class org.logicalcobwebs.proxool.ProxoolConstants
ALIAS_PROPERTY - static field in class 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 class 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 field in class org.logicalcobwebs.proxool.resources.ResourceNamesIF
Name of the attributeDescriptions resource.
AvalonConfigurator - class org.logicalcobwebs.proxool.configuration.AvalonConfigurator
Configurator for the Avalon Framework.
awaitTermination() - method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask

B

barrier - field in class org.logicalcobwebs.concurrent.FJTaskRunner
An extra object to synchronize on in order to achieve a memory barrier.
base - field in class org.logicalcobwebs.concurrent.FJTaskRunner
Current base of DEQ.
BoundedChannel - interface org.logicalcobwebs.concurrent.BoundedChannel
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

C

call() - method in class org.logicalcobwebs.concurrent.Callable
Perform some action that returns a result or throws an exception *
Callable - interface org.logicalcobwebs.concurrent.Callable
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 class org.logicalcobwebs.concurrent.BoundedChannel
Return the maximum number of elements that can be held.
Channel - interface org.logicalcobwebs.concurrent.Channel
Main interface for buffers, queues, pipes, conduits, etc.
characters(char[],int,int) - method in class org.logicalcobwebs.proxool.configuration.XMLConfigurator
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.proxool.util.FastArrayList
Remove all of the elements from this list.
clear() - method in class org.logicalcobwebs.concurrent.FutureResult
Clear the value and exception and set to not-ready, allowing this FutureResult to be reused.
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 class org.logicalcobwebs.proxool.ProxyConnectionIF
Doesn't really close the connection, just puts it back in the pool.
CLOSE_ON_DISPOSE_ATTRIBUTE - static field 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.
Fork both tasks and then wait for their completion.
A specialized expansion of w.fork(); invoke(v); w.join();
coInvoke(org.logicalcobwebs.concurrent.FJTask[]) - static method in class org.logicalcobwebs.concurrent.FJTask
Fork all tasks in array, and await their completion.
coInvoke(org.logicalcobwebs.concurrent.FJTask[]) - method in class org.logicalcobwebs.concurrent.FJTaskRunner
Array-based version of coInvoke
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.proxool.ProxyConnection
Compares using getId()
compareTo(Object) - method in class org.logicalcobwebs.concurrent.SynchronizedInt
compareTo(org.logicalcobwebs.concurrent.SynchronizedInt) - method in class org.logicalcobwebs.concurrent.SynchronizedInt
complement() - method in class org.logicalcobwebs.concurrent.SynchronizedInt
Set the value to its complement
A ConfigurationListenerIF that keeps a list of ConfigurationListenerIFs and notifies them in a thread safe manner.
CompositeConnectionListener - class org.logicalcobwebs.proxool.CompositeConnectionListener
A ConnectionListenerIF that keeps a list of ConnectionListenerIFs and notifies them in a thread safe manner.
CompositeProxoolListener - class org.logicalcobwebs.proxool.CompositeProxoolListener
A ProxoolListenerIF that keeps a list of ProxoolListenerIFs and notifies them in a thread safe manner.
CompositeStateListener - class org.logicalcobwebs.proxool.CompositeStateListener
A StateListenerIF that keeps a list of StateListenerIFs and notifies them in a thread safe manner.
CompositeStatisticsListener - class org.logicalcobwebs.proxool.admin.CompositeStatisticsListener
A StatisticsListenerIF that keeps a list of StatisticsListenerIFs and notifies them in a thread safe manner.
ConfigurationListenerIF - interface org.logicalcobwebs.proxool.ConfigurationListenerIF
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(InputSource,boolean) - static method in class org.logicalcobwebs.proxool.configuration.JAXPConfigurator
Configure Proxool with xml from the given InputSource.
configure(Properties) - static method in class org.logicalcobwebs.proxool.configuration.PropertyConfigurator
Configure proxool with the given properties.
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.
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:
   proxool:delegate-class:delegate-url
 
or,
   proxool.name:delegate-class:delegate-url
 
where
delegate-class
is the actual Driver that will be used and
delegate-url
is the url that will be based to that Driver By defining
name
you are able to define multiple connection pools even if the delegate url is the same.
ConnectionBuilderIF - interface org.logicalcobwebs.proxool.ConnectionBuilderIF
ConnectionInfoIF - interface org.logicalcobwebs.proxool.ConnectionInfoIF
Provides information about an individual connection.
ConnectionListenerIF - interface org.logicalcobwebs.proxool.ConnectionListenerIF
You can listen to the lifecycle of a connection.
ConnectionPoolDefinitionIF - interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
A full definition of everything to do with a connection.
ConnectionPoolMBean - class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
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 org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
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 org.logicalcobwebs.proxool.ConnectionResetter
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 org.logicalcobwebs.proxool.ConnectionValidatorIF
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 field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
DEBUG_LEVEL_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
DEBUG_LEVEL_QUIET - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
decrement() - method in class org.logicalcobwebs.concurrent.SynchronizedInt
Decrement the value.
DEFAULT_HOUSE_KEEPING_SLEEP_TIME - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
30000 (30 Seconds)
DEFAULT_MAXIMUM_ACTIVE_TIME - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
300000 (5 minutes)
DEFAULT_MAXIMUM_CONNECTION_COUNT - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
15
DEFAULT_MAXIMUM_CONNECTION_LIFETIME - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
4 * 60 * 60 * 1000 (4 hours)
DEFAULT_MAXIMUM_NEW_CONNECTIONS - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
10
DEFAULT_MINIMUM_CONNECTION_COUNT - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
0
DEFAULT_OVERLOAD_WITHOUT_REFUSAL_THRESHOLD - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
60000
DEFAULT_PROTOTYPE_COUNT - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
0
DEFAULT_RECENTLY_STARTED_THRESHOLD - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
60000
DEFAULT_SIMULTANEOUS_BUILD_THROTTLE - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
10
DefaultChannelCapacity - class org.logicalcobwebs.concurrent.DefaultChannelCapacity
A utility class to set the default capacity of BoundedChannel implementations that otherwise require a capacity argument
DefaultConnectionBuilder - class org.logicalcobwebs.proxool.DefaultConnectionBuilder
DefaultConnectionBuilder() - constructor for class org.logicalcobwebs.proxool.DefaultConnectionBuilder
DefaultConnectionValidator - class org.logicalcobwebs.proxool.DefaultConnectionValidator
DefaultConnectionValidator() - constructor for class org.logicalcobwebs.proxool.DefaultConnectionValidator
Gets called once after a pool has been updated.
Update the attributes of this MBean and emit a NOTIFICATION_TYPE_DEFINITION_UPDATED event.
Broadcast a configuration change
DELEGATE_DRIVER - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Instead of defining the driver in the url you can also use this property
DELEGATE_DRIVER_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
DELEGATE_URL - static field in class org.logicalcobwebs.proxool.ProxoolConstants
DELEGATE_URL_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
deq - field 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 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
Delegate to doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
DRIVER_CLASS - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Un-prefixed propety name for the Proxool driver class configuration property.
DRIVER_CLASS_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Prefixed propety name for the Proxool driver class configuration property.
DRIVER_PROPERTIES - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Element name for the container of properties passed directlry to the delegate driver.
DRIVER_URL - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Un-prefixed propety name for the Proxool driver url configuration property.
DRIVER_URL_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Prefixed propety name for the Proxool driver url configuration property.
duration - field in class 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 - field in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Group-wide queue for tasks entered via execute() *
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.ProxyConnection
Whether the underlying connections are equal
equals(Object) - method in class org.logicalcobwebs.concurrent.SynchronizedInt
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_ - field in class org.logicalcobwebs.concurrent.FutureResult
the exception encountered by operation producing result *
execute(Runnable) - method in class 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(org.logicalcobwebs.concurrent.FJTask) - method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Specialized form of execute called only from within FJTasks
Executor - interface org.logicalcobwebs.concurrent.Executor
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 org.logicalcobwebs.proxool.util.FastArrayList
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(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.
FastArrayList(int) - constructor for class org.logicalcobwebs.proxool.util.FastArrayList
Construct an empty list with the specified capacity.
FATAL_SQL_EXCEPTION - static field in class org.logicalcobwebs.proxool.ProxoolConstants
FATAL_SQL_EXCEPTION_DETECTED - static field in class org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because a FATAL_SQL_EXCEPTION has been detected.
FATAL_SQL_EXCEPTION_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
FATAL_SQL_EXCEPTION_WRAPPER_CLASS - static field in class org.logicalcobwebs.proxool.ProxoolConstants
FATAL_SQL_EXCEPTION_WRAPPER_CLASS_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
FATAL_SQL_EXCEPTIONS_DELIMITER - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
fatalError(SAXParseException) - method in class org.logicalcobwebs.proxool.configuration.XMLConfigurator
FatalRuntimeException - class org.logicalcobwebs.proxool.FatalRuntimeException
A type of SQLException that has been defined as fatal.
FatalRuntimeException(Exception) - constructor for class org.logicalcobwebs.proxool.FatalRuntimeException
FatalSQLException - class org.logicalcobwebs.proxool.FatalSQLException
A type of SQLException that has been defined as fatal.
FatalSQLException(SQLException) - constructor for class org.logicalcobwebs.proxool.FatalSQLException
FatalSQLException(SQLException,String,String) - constructor for class org.logicalcobwebs.proxool.FatalSQLException
finalize() - method in class org.logicalcobwebs.proxool.ProxoolFacade
FJTask - class org.logicalcobwebs.concurrent.FJTask
Abstract base class for Fork/Join Tasks.
FJTaskRunner - class org.logicalcobwebs.concurrent.FJTaskRunner
Specialized Thread subclass for running FJTasks.
FJTaskRunner(org.logicalcobwebs.concurrent.FJTaskRunnerGroup) - constructor for class org.logicalcobwebs.concurrent.FJTaskRunner
Constructor called only during FJTaskRunnerGroup initialization
FJTaskRunnerGroup - class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
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.
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 org.logicalcobwebs.proxool.FormatHelper
Formats things as Strings
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 - field in class org.logicalcobwebs.concurrent.FJTask.Par2
fst - field in class org.logicalcobwebs.concurrent.FJTask.Seq2
FutureResult - class org.logicalcobwebs.concurrent.FutureResult
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(org.logicalcobwebs.concurrent.FJTaskRunner) - method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Return active status of t.
getActiveConnectionCount() - method in class org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
The number of connections currently in use.
getActiveConnectionCount() - method in class org.logicalcobwebs.proxool.admin.SnapshotIF
The number of active (busy) connections
getActiveCount() - method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Return the number of threads that are not idly waiting for work.
getAge() - method in class org.logicalcobwebs.proxool.ConnectionInfoIF
The age in millseconds since this connection was built
getAge() - method in class org.logicalcobwebs.proxool.ProxyConnection
getAlias() - method in class 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(Connection) - static method in class org.logicalcobwebs.proxool.ProxoolFacade
Get the alias for the connection pool that served a connection
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
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 class org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
The number of connections that are available for use (doesn't include active connections).
getAvailableConnectionCount() - method in class org.logicalcobwebs.proxool.admin.SnapshotIF
The number of available (free) connections
getAverageActiveCount() - method in class org.logicalcobwebs.proxool.admin.StatisticsIF
The average number of active connections,
getAverageActiveTime() - method in class org.logicalcobwebs.proxool.admin.StatisticsIF
The average time that each connection spent active.
getBirthDate() - method in class org.logicalcobwebs.proxool.ConnectionInfoIF
Like getBirthTime() but in Date format
getBirthDate() - method in class org.logicalcobwebs.proxool.ProxyConnection
getBirthTime() - method in class org.logicalcobwebs.proxool.ConnectionInfoIF
The time that this connection was created.
getBirthTime() - method in class org.logicalcobwebs.proxool.ProxyConnection
getCause() - method in class org.logicalcobwebs.proxool.FatalRuntimeException
getCause() - method in class org.logicalcobwebs.proxool.FatalSQLException
getCause() - method in class org.logicalcobwebs.proxool.ProxoolException
Returns the cause of this exception or null if the cause is nonexistent or unknown.
getCompleteUrl() - method in class 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 class 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 class org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
getConnectionCount() - method in class org.logicalcobwebs.proxool.Prototyper
The total number of connections, including those being built right now
getConnectionCount() - method in class org.logicalcobwebs.proxool.admin.SnapshotIF
getConnectionInfo(long) - method in class org.logicalcobwebs.proxool.admin.SnapshotIF
The details of one connection.
getConnectionInfos() - method in class org.logicalcobwebs.proxool.admin.SnapshotIF
The details of each connection.
getConnectionInfos(String) - static method in class org.logicalcobwebs.proxool.ProxoolFacade
Get details on each connection within the pool.
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
Get real-time statistical information about how a pool is performing.
getConnectionPoolStatisticsDump(String) - static method in class org.logicalcobwebs.proxool.ProxoolFacade
Get real-time statistical information about how a pool is performing.
getConnectionsRefusedCount() - method in class org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
The number of connections refused.
getConnectionsServedCount() - method in class org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
The number of connections provided.
getDateStarted() - method in class org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
When this pool was started
getDateStarted() - method in class org.logicalcobwebs.proxool.admin.SnapshotIF
When the pool was started
getDebugLevel() - method in class 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 class org.logicalcobwebs.proxool.ProxyConnectionIF
getDelegateConnection(Connection) - static method in class org.logicalcobwebs.proxool.ProxoolFacade
Returns the driver provided connection that Proxool wraps up before it gives it to you.
getDelegateHashcode() - method in class org.logicalcobwebs.proxool.ConnectionInfoIF
The hashcode (in hex) of the delegate connection object.
getDelegateHashcode() - method in class org.logicalcobwebs.proxool.ProxyConnection
getDelegateProperties() - method in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
Get all of the properties that are defined on the delegated driver.
getDelegateProperty(String) - method in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
getDelegateStatement(Statement) - static method in class org.logicalcobwebs.proxool.ProxoolFacade
Returns the driver provided statement that Proxool wraps up before it gives it to you.
getDelegateUrl() - method in class 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 class 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 class 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 class 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 class 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 class 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 class org.logicalcobwebs.proxool.ConnectionInfoIF
A unique ID for this connection
getId() - method in class org.logicalcobwebs.proxool.ProxyConnection
A unique ID for this connection
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 class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
JNDI property
getInjectableCallableStatementInterface() - method in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
The class name of an interface that should be injected everytime we make a CallableStatement.
getInjectableConnectionInterface() - method in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
The class name of an interface that should be injected everytime we make a Connection.
getInjectablePreparedStatementInterface() - method in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
The class name of an interface that should be injected everytime we make a PreparedStatement.
getInjectableStatementInterface() - method in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
The class name of an interface that should be injected everytime we make a Statement.
getJdbcDriverVersion() - method in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
getJmxAgentId() - method in class 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 class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
JNDI property
getLastSqlCall() - method in class org.logicalcobwebs.proxool.ProxyConnection
Get the most recent of all the getSqlCalls()
getLastSqlCall() - method in class org.logicalcobwebs.proxool.ProxyConnectionIF
Get the most recent of all the 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 class 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
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.
getMaximumActiveTime() - method in class 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 class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
The maximum number of connections to the database
getMaximumConnectionCount() - method in class org.logicalcobwebs.proxool.ProxoolDataSource
getMaximumConnectionCount() - method in class org.logicalcobwebs.proxool.admin.SnapshotIF
Get the maximum possible connections (as defined in the definition.
getMaximumConnectionLifetime() - method in class 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 class 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.
getMBeanInfo() - method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
getMinimumConnectionCount() - method in class 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 class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
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 class org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
The number of connections that are neither active or available.
getOfflineConnectionCount() - method in class org.logicalcobwebs.proxool.admin.SnapshotIF
The number of offline connections.
getOriginalSQLException() - method in class org.logicalcobwebs.proxool.FatalSQLException
Get the SQLException that was detected as being fatal
getOverloadWithoutRefusalLifetime() - method in class 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
getPassword() - method in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
The password to use to login to the database
getPassword() - method in class org.logicalcobwebs.proxool.ProxoolDataSource
getPeriod() - method in class org.logicalcobwebs.proxool.admin.StatisticsIF
The length of time this sample represents,
getProperties() - method in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
Get all of the properties that are defined on the delegated driver.
getPropertyInfo(String,Properties) - method in class org.logicalcobwebs.proxool.ProxoolDriver
getPrototypeCount() - method in class 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 class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
JNDI property
getProxyConnection() - method in class org.logicalcobwebs.proxool.WrappedConnection
Get the encapsulated proxy connection
getProxyHashcode() - method in class 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
Get the reason why this connection is marked
getReasonCode() - method in class org.logicalcobwebs.proxool.ProxyConnectionIF
Get the reason why this connection is marked
getReasonForMark() - method in class org.logicalcobwebs.proxool.ProxyConnection
getReasonForMark() - method in class 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 class 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 class org.logicalcobwebs.proxool.admin.SnapshotIF
How many connections have been refused since the pool started
getRefusedCount() - method in class org.logicalcobwebs.proxool.admin.StatisticsIF
The number of connections refused during this sample.
getRefusedPerSecond() - method in class org.logicalcobwebs.proxool.admin.StatisticsIF
The rate at which we have refused connections
getRequester() - method in class 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 class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
JNDI property
getSecurityCredentials() - method in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
JNDI property
getSecurityPrincipal() - method in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
JNDI property
getServedCount() - method in class org.logicalcobwebs.proxool.admin.SnapshotIF
How many connections have been served since the pool started
getServedCount() - method in class org.logicalcobwebs.proxool.admin.StatisticsIF
The number of connections served during this sample.
getServedPerSecond() - method in class org.logicalcobwebs.proxool.admin.StatisticsIF
The rate at which we have served connections
getSimultaneousBuildThrottle() - method in class 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
Get a new snapshot
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
getSnapshotDate() - method in class org.logicalcobwebs.proxool.admin.SnapshotIF
The date that this snapshot applies
getSqlCalls() - method in class org.logicalcobwebs.proxool.ConnectionInfoIF
A log of the last SQL used on this connection.
getSqlCalls() - method in class org.logicalcobwebs.proxool.ProxyConnection
A log of the last SQL used on this connection.
getStartDate() - method in class org.logicalcobwebs.proxool.admin.StatisticsIF
When this sample started.
getStatistics() - method in class org.logicalcobwebs.proxool.admin.Admin
getStatistics() - method in class 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 class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
Whether statistics are logged as they are produced.
getStatisticsLogLevel() - method in class org.logicalcobwebs.proxool.ProxoolDataSource
getStatus() - method in class org.logicalcobwebs.proxool.ConnectionInfoIF
The status of the connection.
getStatus() - method in class org.logicalcobwebs.proxool.ProxyConnection
The status of the connection.
getStopDate() - method in class org.logicalcobwebs.proxool.admin.StatisticsIF
When this sample stopped
getTimeLastStartActive() - method in class org.logicalcobwebs.proxool.ConnectionInfoIF
When this connection was last given out.
getTimeLastStartActive() - method in class org.logicalcobwebs.proxool.ProxyConnection
getTimeLastStopActive() - method in class 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 class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
This is the URL used to connect to the database.
getUser() - method in class 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 - field in class org.logicalcobwebs.concurrent.FJTaskRunner
The group of which this FJTaskRunner is a member *

H

hashCode() - method in class org.logicalcobwebs.proxool.util.FastArrayList
Return the hash code value for this list.
hashCode() - method in class org.logicalcobwebs.concurrent.SynchronizedInt
head_ - field in class org.logicalcobwebs.concurrent.LinkedQueue
Dummy header node of list.
HOUSE_KEEPER_TEST_FAIL - static field in class org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because the routine house keeper test failed
HOUSE_KEEPING_SLEEP_TIME - static field in class org.logicalcobwebs.proxool.ProxoolConstants
HOUSE_KEEPING_SLEEP_TIME_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
HOUSE_KEEPING_TEST_SQL - static field in class org.logicalcobwebs.proxool.ProxoolConstants
HOUSE_KEEPING_TEST_SQL_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
HouseKeeperController - class org.logicalcobwebs.proxool.HouseKeeperController
Schedules when to run the house keeper
HouseKeeperThread - class org.logicalcobwebs.proxool.HouseKeeperThread
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 class org.logicalcobwebs.proxool.ProxoolException
Initializes the cause of this exception to the specified value.
INITIAL_CAPACITY - static field in class org.logicalcobwebs.concurrent.FJTaskRunner
FJTasks are held in an array-based DEQ with INITIAL_CAPACITY elements.
INITIAL_DEFAULT_CAPACITY - static field 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 field in class org.logicalcobwebs.proxool.ProxoolConstants
INJECTABLE_CALLABLE_STATEMENT_INTERFACE_NAME_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
INJECTABLE_CONNECTION_INTERFACE_NAME - static field in class org.logicalcobwebs.proxool.ProxoolConstants
INJECTABLE_CONNECTION_INTERFACE_NAME_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
INJECTABLE_PREPARED_STATEMENT_INTERFACE_NAME - static field in class org.logicalcobwebs.proxool.ProxoolConstants
INJECTABLE_PREPARED_STATEMENT_INTERFACE_NAME_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
INJECTABLE_STATEMENT_INTERFACE_NAME - static field in class org.logicalcobwebs.proxool.ProxoolConstants
INJECTABLE_STATEMENT_INTERFACE_NAME_PROPERTY - static field in class 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.
Wrap wait/notify mechanics around a task so that invoke() can wait it out
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(org.logicalcobwebs.concurrent.FJTask) - static method in class org.logicalcobwebs.concurrent.FJTask
Immediately execute task t by calling its run method.
invoke(Runnable) - method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Start a task and wait it out.
invoke(String,params[],signature[]) - method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
InvokerFacade - class org.logicalcobwebs.proxool.proxy.InvokerFacade
Invokes a method using a cached method.
isActive() - method in class org.logicalcobwebs.proxool.ProxyConnection
isActive() - method in class org.logicalcobwebs.proxool.ProxyConnectionIF
isAvailable() - method in class org.logicalcobwebs.proxool.ProxyConnection
isAvailable() - method in class org.logicalcobwebs.proxool.ProxyConnectionIF
isClosed() - method in class org.logicalcobwebs.proxool.ProxyConnection
Whether this connection is available.
isDetail() - method in class 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.proxool.util.AbstractListenerContainer
isEmpty() - method in class org.logicalcobwebs.proxool.util.FastArrayList
Test if this list has no elements.
isEmpty() - method in class org.logicalcobwebs.concurrent.LinkedQueue
isEmpty() - method in class org.logicalcobwebs.proxool.util.ListenerContainerIF
Get wether this container is empty or not.
isJmx() - method in class 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 class org.logicalcobwebs.proxool.ProxyConnectionIF
Whether this connection is due for expiry
isNull() - method in class org.logicalcobwebs.proxool.ProxyConnection
isNull() - method in class org.logicalcobwebs.proxool.ProxyConnectionIF
isOffline() - method in class org.logicalcobwebs.proxool.ProxyConnection
isOffline() - method in class 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 class 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 class 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 class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
Whether we test each connection before it is served
isTestBeforeUse() - method in class org.logicalcobwebs.proxool.ProxoolDataSource
isTrace() - method in class 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 class 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
iterator() - method in class org.logicalcobwebs.proxool.util.FastArrayList
Return an iterator over the elements in this list in proper sequence.

J

JAXPConfigurator - class org.logicalcobwebs.proxool.configuration.JAXPConfigurator
Configurator that uses JAXP to get a parser for Proxool configuration xml.
jdbcCompliant() - method in class org.logicalcobwebs.proxool.ProxoolDriver
JMX - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Configuration attribute used to indicate that a pool should be registered with JMX.
JMX - static field in class org.logicalcobwebs.proxool.resources.ResourceNamesIF
Name of the jmx resource.
JMX_AGENT_ID - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Configuration attribute for a list of jmx agent ids to register a ConnectionPoolMBean to.
JMX_AGENT_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
"proxool." prefixed version of JMX_AGENT_ID.
JMX_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
"proxool." prefixed version of JMX.
JNDI_NAME - static field in class org.logicalcobwebs.proxool.ProxoolConstants
JNDI_NAME_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
JNDI_PROPERTY_PREFIX - static field in class 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
Like killAllConnections but defaults to merciful.
killAllConnections(String,boolean) - static method in class org.logicalcobwebs.proxool.ProxoolFacade
Kill all connections in a pool.
killAllConnections(String,String) - static method in class org.logicalcobwebs.proxool.ProxoolFacade
Like killAllConnections but defaults to merciful.
killAllConnections(String,String,boolean) - static method in class org.logicalcobwebs.proxool.ProxoolFacade
Kill all connections in a pool.
killConnecton(Connection,boolean) - static method in class org.logicalcobwebs.proxool.ProxoolFacade
Kill a single connection
killConnecton(String,long,boolean) - static method in class org.logicalcobwebs.proxool.ProxoolFacade
Kill a single connection

L

last_ - field 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 org.logicalcobwebs.concurrent.LinkedNode
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,org.logicalcobwebs.concurrent.LinkedNode) - constructor for class org.logicalcobwebs.concurrent.LinkedNode
LinkedQueue - class org.logicalcobwebs.concurrent.LinkedQueue
A linked list based channel implementation.
LinkedQueue() - constructor for class org.logicalcobwebs.concurrent.LinkedQueue
ListenerContainerIF - interface org.logicalcobwebs.proxool.util.ListenerContainerIF
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_ - field 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 field in class org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because it's manually been expired (by something external to Proxool)
MARK_FOR_EXPIRY - static field in class org.logicalcobwebs.proxool.ConnectionInfoIF
The next time this connection is made available we should expire it.
MARK_FOR_USE - static field in class org.logicalcobwebs.proxool.ConnectionInfoIF
Default - treat as normal
markForExpiry(String) - method in class org.logicalcobwebs.proxool.ProxyConnection
markForExpiry(String) - method in class org.logicalcobwebs.proxool.ProxyConnectionIF
Mark this connection for expiry (destruction) as soon as it stops being active.
MAX_CAPACITY - static field in class org.logicalcobwebs.concurrent.FJTaskRunner
The maximum supported DEQ capacity.
MAXIMUM_ACTIVE_TIME - static field in class org.logicalcobwebs.proxool.ProxoolConstants
MAXIMUM_ACTIVE_TIME_EXPIRED - static field in class org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because the MAXIMUM_ACTIVE_TIME has been exceeded.
MAXIMUM_ACTIVE_TIME_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
MAXIMUM_CONNECTION_COUNT - static field in class org.logicalcobwebs.proxool.ProxoolConstants
MAXIMUM_CONNECTION_COUNT_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
MAXIMUM_CONNECTION_LIFETIME - static field in class org.logicalcobwebs.proxool.ProxoolConstants
MAXIMUM_CONNECTION_LIFETIME_EXCEEDED - static field in class org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because it's MAXIMUM_CONNECTION_LIFETIME has been exceeded.
MAXIMUM_CONNECTION_LIFETIME_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
MAXIMUM_NEW_CONNECTIONS - static field in class org.logicalcobwebs.proxool.ProxoolConstants
MAXIMUM_NEW_CONNECTIONS_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
MethodMapper - class org.logicalcobwebs.proxool.proxy.MethodMapper
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 field in class org.logicalcobwebs.proxool.ProxoolConstants
MINIMUM_CONNECTION_COUNT_PROPERTY - static field in class 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 field 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 - field in class org.logicalcobwebs.concurrent.LinkedNode
NOTIFICATION_TYPE_DEFINITION_UPDATED - static field in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
Notification type emitted when the pool definition is updated.
nstarted - field in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Number of threads that have been started.

O

offer(Object,long) - method in class 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
Place item in channel only if it can be accepted within msecs milliseconds.
offer(Object,long) - method in class 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 class 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 class org.logicalcobwebs.proxool.ConnectionListenerIF
Happens just before we expire a connection.
ONE_CENTURY - static field in class org.logicalcobwebs.concurrent.Sync
One century in milliseconds; convenient as a time-out value *
ONE_DAY - static field in class org.logicalcobwebs.concurrent.Sync
One day, in milliseconds; convenient as a time-out value *
ONE_HOUR - static field in class org.logicalcobwebs.concurrent.Sync
One hour, in milliseconds; convenient as a time-out value *
ONE_MINUTE - static field in class org.logicalcobwebs.concurrent.Sync
One minute, in milliseconds; convenient as a time-out value *
ONE_SECOND - static field in class org.logicalcobwebs.concurrent.Sync
One second, in milliseconds; convenient as a time-out value *
ONE_WEEK - static field in class org.logicalcobwebs.concurrent.Sync
One week, in milliseconds; convenient as a time-out value *
ONE_YEAR - static field in class 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 class org.logicalcobwebs.proxool.ConnectionListenerIF
Happens after every successful execute.
onFail(String,Exception) - method in class org.logicalcobwebs.proxool.CompositeConnectionListener
onFail(String,Exception) - method in class 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.
Not used.
Notify that a new connection pool has been registered.
onShutdown(String) - method in class org.logicalcobwebs.proxool.CompositeProxoolListener
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.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.
Concurrency utilities.
A Java SQL Driver that provides a connection pool wrapper around another Driver of your choice.
Provides statistical information on each pool.
Contains an MBean adapter to manage pools through JMX plus a utility to register/deregister these beans.
Contains a helper that can create a Proxool datasource and bind it to JNDI.
The AdminServlet provides information about running pools.
Helpers for configuring Proxool from various sources.
OUTPUT_FULL - static field in class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
OUtput full HTML including <HTML>, <HEAD> and <BODY> tags.
OUTPUT_SIMPLE - static field in class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
OUtput simple HTML excluding <HTML>, <HEAD> and <BODY> tags.
OVERLOAD_WITHOUT_REFUSAL_LIFETIME - static field in class org.logicalcobwebs.proxool.ProxoolConstants
OVERLOAD_WITHOUT_REFUSAL_LIFETIME_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
overrideConcreteMethod(Class,Method,Method) - static method in class org.logicalcobwebs.proxool.proxy.InvokerFacade
Override the method provided by the getConcreteMethod(java.lang.Class, java.lang.reflect.Method).
overrideConcreteMethod(Method,Method) - method in class org.logicalcobwebs.proxool.proxy.MethodMapper
Don't use the one we calculate using getConcreteMethod(java.lang.reflect.Method), use this one instead.

P

FJTask.Par - class org.logicalcobwebs.concurrent.FJTask.Par
A new Par, when executed, runs the tasks provided in the constructor in parallel using coInvoke(tasks).
par(org.logicalcobwebs.concurrent.FJTask,org.logicalcobwebs.concurrent.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
Two-task constructor, for compatibility with previous release.
par(org.logicalcobwebs.concurrent.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(org.logicalcobwebs.concurrent.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
FJTask.Par2 - class org.logicalcobwebs.concurrent.FJTask.Par2
A new Par(task1, task2), when executed, runs task1 and task2 in parallel using coInvoke(task1, task2).
PASSWORD_PROPERTY - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
PASSWORD_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Standard JDBC property
peek() - method in class 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 class 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
Return and remove an item from channel only if one is available within msecs milliseconds.
poll(long) - method in class 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 field in class org.logicalcobwebs.proxool.configuration.PropertyConfigurator
preRegister(MBeanServer,ObjectName) - method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
printStackTrace() - method in class org.logicalcobwebs.proxool.ProxoolException
Prints this ProxoolException and its backtrace to the standard error stream.
printStackTrace(PrintStream) - method in class org.logicalcobwebs.proxool.ProxoolException
Prints this ProxoolException and its backtrace to the specified print stream.
printStackTrace(PrintWriter) - method in class org.logicalcobwebs.proxool.ProxoolException
Prints this ProxoolException and its backtrace to the specified print writer.
PROPERTY_PREFIX - static field in class org.logicalcobwebs.proxool.ProxoolConstants
PropertyConfigurator - class org.logicalcobwebs.proxool.configuration.PropertyConfigurator
Uses a standard Java properties file to configure Proxool.
PROTOTYPE_COUNT - static field in class org.logicalcobwebs.proxool.ProxoolConstants
PROTOTYPE_COUNT_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Prototyper - class org.logicalcobwebs.proxool.Prototyper
Responsible for prototyping connections for all pools
Prototyper(org.logicalcobwebs.proxool.ConnectionPool) - constructor for class org.logicalcobwebs.proxool.Prototyper
PrototyperController - class org.logicalcobwebs.proxool.PrototyperController
Controls the prototypers
PrototyperThread - class org.logicalcobwebs.proxool.PrototyperThread
Responsible for running sweep.
PrototyperThread(String) - constructor for class org.logicalcobwebs.proxool.PrototyperThread
PROXOOL - static field in class org.logicalcobwebs.proxool.ProxoolConstants
PROXOOL_XML_NAMESPACE_URI - static field in class 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 org.logicalcobwebs.proxool.ProxoolConstants
All constants here please.
ProxoolDataSource - class org.logicalcobwebs.proxool.ProxoolDataSource
The Proxool DataSource implementation.
ProxoolDataSource() - constructor for class org.logicalcobwebs.proxool.ProxoolDataSource
ProxoolDataSource(String) - constructor for class org.logicalcobwebs.proxool.ProxoolDataSource
ProxoolDriver - class org.logicalcobwebs.proxool.ProxoolDriver
This is the Proxool implementation of the java.sql.Driver interface.
ProxoolException - class org.logicalcobwebs.proxool.ProxoolException
Proxool exception class that emulates the behaviour of the new cause facility in jdk 1.4.
ProxoolException() - constructor for class org.logicalcobwebs.proxool.ProxoolException
Constructs a new instance with null as its detail message.
ProxoolException(String) - constructor for class org.logicalcobwebs.proxool.ProxoolException
Constructs a new instance with the specified detail message.
ProxoolException(String,Throwable) - constructor for class org.logicalcobwebs.proxool.ProxoolException
Constructs a new instance with the specified detail message and cause.
ProxoolException(Throwable) - constructor for class 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 org.logicalcobwebs.proxool.ProxoolFacade
This provides some nice-to-have features that can't be provided by the java.sql.Driver implementation of java.sql.Driver.
ProxoolJMXHelper - class org.logicalcobwebs.proxool.admin.jmx.ProxoolJMXHelper
Utilities for Proxool JMX instrumentation.
ProxoolJNDIHelper - class org.logicalcobwebs.proxool.admin.jndi.ProxoolJNDIHelper
Utilities for Proxool JNDI operations.
ProxoolListenerIF - interface org.logicalcobwebs.proxool.ProxoolListenerIF
Listener for global Proxool events.
ProxyConnection - class org.logicalcobwebs.proxool.ProxyConnection
Manages a connection.
ProxyConnectionIF - interface org.logicalcobwebs.proxool.ProxyConnectionIF
Contains most of the functionality that we require to manipilate the connection.
push(org.logicalcobwebs.concurrent.FJTask) - method in class org.logicalcobwebs.concurrent.FJTaskRunner
Push a task onto DEQ.
put(Object) - method in class 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
Place item in the channel, possibly waiting indefinitely until it can be accepted.
put(Object) - method in class org.logicalcobwebs.concurrent.Puttable
Place item in the channel, possibly waiting indefinitely until it can be accepted.
put(org.logicalcobwebs.concurrent.FJTask) - method in class org.logicalcobwebs.concurrent.FJTaskRunner
Enqueue task at base of DEQ.
put(org.logicalcobwebs.concurrent.FJTask) - method in class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
Set the reference *
putLock_ - field in class org.logicalcobwebs.concurrent.LinkedQueue
Helper monitor for managing access to last node.
Puttable - interface org.logicalcobwebs.concurrent.Puttable
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_ - field in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
ReaderPreferenceReadWriteLock - class org.logicalcobwebs.concurrent.ReaderPreferenceReadWriteLock
A ReadWriteLock that prefers waiting readers over waiting writers when there is contention.
readLock() - method in class org.logicalcobwebs.concurrent.ReadWriteLock
get the readLock *
readLock() - method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
get the readLock *
ReadWriteLock - interface org.logicalcobwebs.concurrent.ReadWriteLock
ReadWriteLocks maintain a pair of associated locks.
ready_ - field 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 class org.logicalcobwebs.proxool.ProxyConnectionIF
Really close the connection, as opposed to just putting it back in the pool.
RECENTLY_STARTED_THRESHOLD - static field in class org.logicalcobwebs.proxool.ProxoolConstants
RECENTLY_STARTED_THRESHOLD_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
redefineConnectionPool(String,Properties) - static method in class org.logicalcobwebs.proxool.ProxoolFacade
Redefine the behaviour of the pool.
ref - field in class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
The reference *
register(org.logicalcobwebs.proxool.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 class 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.
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 class 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
Removes all connection pools.
Remove a listener that gets called everytime the configuration changes.
Remove a listener that monitors each time a connection is made or destroyed.
removeConnectionPool(String) - static method in class org.logicalcobwebs.proxool.ProxoolFacade
Like removeConnectionPool(java.lang.String, int) but uses no delay.
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 class org.logicalcobwebs.proxool.util.ListenerContainerIF
Remove a listener from this container.
removeNotificationListener(NotificationListener) - method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
Remove a registered ProxoolListenerIF.
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 field in class 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 org.logicalcobwebs.proxool.resources.ResourceNamesIF
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 field 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 - field in class org.logicalcobwebs.concurrent.FJTask.Wrap
runPriority - field in class org.logicalcobwebs.concurrent.FJTaskRunner
Priority to use while running tasks *
runs - field in class org.logicalcobwebs.concurrent.FJTaskRunner
Total number of tasks run *

S

scan(org.logicalcobwebs.concurrent.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 - field in class org.logicalcobwebs.concurrent.FJTaskRunner
Priority to use while scanning for work *
scans - field 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.
FJTask.Seq - class org.logicalcobwebs.concurrent.FJTask.Seq
A new Seq, when executed, invokes each task provided in the constructor, in order.
seq(org.logicalcobwebs.concurrent.FJTask,org.logicalcobwebs.concurrent.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
Two-task constructor, for compatibility with previous release.
seq(org.logicalcobwebs.concurrent.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(org.logicalcobwebs.concurrent.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
FJTask.Seq2 - class org.logicalcobwebs.concurrent.FJTask.Seq2
A new Seq2(task1, task2), when executed, invokes task1 and then task2, in order.
ServletConfigurator - class org.logicalcobwebs.proxool.configuration.ServletConfigurator
Allows you to configure Proxool using a servlet.
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(org.logicalcobwebs.concurrent.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
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(org.logicalcobwebs.concurrent.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 class 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 shutdown.
setSimultaneousBuildThrottle(int) - method in class org.logicalcobwebs.proxool.ProxoolDataSource
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 class 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 class 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(org.logicalcobwebs.concurrent.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 field in class org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because Proxool is shutting down
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.
Reader and Writer requests are maintained in two different wait sets, by two different objects.
signalNewTask() - method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Start or wake up any threads waiting for work
SIMULTANEOUS_BUILD_THROTTLE - static field in class org.logicalcobwebs.proxool.ProxoolConstants
SIMULTANEOUS_BUILD_THROTTLE_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
size() - method in class org.logicalcobwebs.proxool.util.FastArrayList
Return the number of elements in this list.
size() - method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
Return the number of FJTaskRunner threads in this group *
Backup to handle noninlinable cases of coInvoke
slowCoInvoke(org.logicalcobwebs.concurrent.FJTask[]) - method in class org.logicalcobwebs.concurrent.FJTaskRunner
Backup to handle atypical or noninlinable cases of coInvoke
slowPush(org.logicalcobwebs.concurrent.FJTask) - method in class org.logicalcobwebs.concurrent.FJTaskRunner
Handle slow case for push
SnapshotIF - interface org.logicalcobwebs.proxool.admin.SnapshotIF
Provides a snapshot of a pool
snd - field in class org.logicalcobwebs.concurrent.FJTask.Par2
snd - field 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 field in class org.logicalcobwebs.proxool.StateListenerIF
STATE_DOWN - static field in class org.logicalcobwebs.proxool.StateListenerIF
STATE_OVERLOADED - static field in class org.logicalcobwebs.proxool.StateListenerIF
STATE_QUIET - static field in class org.logicalcobwebs.proxool.StateListenerIF
StateListenerIF - interface org.logicalcobwebs.proxool.StateListenerIF
Monitors the state of the pool so you can see whether it is quiet, busy, overloaded, or down.
STATISTICS - static field in class org.logicalcobwebs.proxool.ProxoolConstants
A new set of statistics have just been produced
A new set of statistics have just been produced
STATISTICS_LOG_LEVEL - static field in class org.logicalcobwebs.proxool.ProxoolConstants
STATISTICS_LOG_LEVEL_DEBUG - static field in class org.logicalcobwebs.proxool.ProxoolConstants
STATISTICS_LOG_LEVEL_INFO - static field in class org.logicalcobwebs.proxool.ProxoolConstants
STATISTICS_LOG_LEVEL_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
STATISTICS_LOG_LEVEL_TRACE - static field in class org.logicalcobwebs.proxool.ProxoolConstants
STATISTICS_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
StatisticsIF - interface org.logicalcobwebs.proxool.admin.StatisticsIF
Provides statistical performance information for a period ot time.
StatisticsListenerIF - interface org.logicalcobwebs.proxool.admin.StatisticsListenerIF
Listen for new statistics as they are produced.
StatisticsLogger - class org.logicalcobwebs.proxool.admin.StatisticsLogger
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 field in class org.logicalcobwebs.proxool.ConnectionInfoIF
The connection is in use
STATUS_AVAILABLE - static field in class org.logicalcobwebs.proxool.ConnectionInfoIF
The connection is available for use
STATUS_NULL - static field in class org.logicalcobwebs.proxool.ConnectionInfoIF
This is the start and end state of every connection
STATUS_OFFLINE - static field in class org.logicalcobwebs.proxool.ConnectionInfoIF
The connection is in use by the house keeping thread
steals - field 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(org.logicalcobwebs.concurrent.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 org.logicalcobwebs.concurrent.Sync
Main interface for locks, gates, and conditions.
SynchronizedInt - class org.logicalcobwebs.concurrent.SynchronizedInt
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 org.logicalcobwebs.concurrent.SynchronizedVariable
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 org.logicalcobwebs.concurrent.Takable
This interface exists to enable stricter type checking for channels.
take() - method in class 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
Return and remove an item from channel, possibly waiting indefinitely until such an item exists.
take() - method in class org.logicalcobwebs.concurrent.Takable
Return and remove an item from channel, possibly waiting indefinitely until such an item exists.
taskJoin(org.logicalcobwebs.concurrent.FJTask) - method in class org.logicalcobwebs.concurrent.FJTaskRunner
Process tasks until w is done.
tasks - field in class org.logicalcobwebs.concurrent.FJTask.Par
tasks - field in class org.logicalcobwebs.concurrent.FJTask.Seq
taskYield() - method in class org.logicalcobwebs.concurrent.FJTaskRunner
Execute a task in this thread.
terminated - field in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
TEST_AFTER_USE - static field in class org.logicalcobwebs.proxool.ProxoolConstants
TEST_AFTER_USE_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
TEST_BEFORE_USE - static field in class org.logicalcobwebs.proxool.ProxoolConstants
TEST_BEFORE_USE_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
threads - field 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 - class org.logicalcobwebs.concurrent.TimeoutException
Thrown by synchronization classes that report timeouts via exceptions.
TimeoutException(long) - constructor for class org.logicalcobwebs.concurrent.TimeoutException
Constructs a TimeoutException with given duration value.
TimeoutException(long,String) - constructor for class 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(array[]) - method in class org.logicalcobwebs.proxool.util.FastArrayList
Return an array containing all of the elements in this list in the correct order.
top - field in class org.logicalcobwebs.concurrent.FJTaskRunner
Current top of DEQ.
toString() - method in class org.logicalcobwebs.proxool.util.FastArrayList
Return a String representation of this object.
toString() - method in class org.logicalcobwebs.proxool.ProxyConnection
toString() - method in class org.logicalcobwebs.concurrent.SynchronizedInt
toString() - method in class org.logicalcobwebs.proxool.WrappedConnection
TRACE - static field in class org.logicalcobwebs.proxool.ProxoolConstants
TRACE_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
triggerResetException - static field 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.
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 class org.logicalcobwebs.proxool.StateListenerIF
URL_DELIMITER - static field in class org.logicalcobwebs.proxool.ProxoolConstants
USER_PROPERTY - static field in class org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
USER_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Standard JDBC property

V

VALIDATION_FAIL - static field in class org.logicalcobwebs.proxool.ConnectionListenerIF
We are killing a connection because it has not been validated.
value - field in class org.logicalcobwebs.concurrent.LinkedNode
value_ - field in class org.logicalcobwebs.concurrent.FutureResult
The result of the operation *
value_ - field in class org.logicalcobwebs.concurrent.SynchronizedInt
VERBOSE - static field in class org.logicalcobwebs.proxool.ProxoolConstants
VERBOSE_PROPERTY - static field in class org.logicalcobwebs.proxool.ProxoolConstants
Version - class org.logicalcobwebs.proxool.Version
Tells you the version.
victimRNG - field in class org.logicalcobwebs.concurrent.FJTaskRunner
Random starting point generator for scan() *
FJTaskRunner.VolatileTaskRef - class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
An object holding a single volatile reference to a FJTask.

W

waitingForTake_ - field in class org.logicalcobwebs.concurrent.LinkedQueue
The number of threads waiting for a take.
waitingReaders_ - field in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
waitingWriters_ - field in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
warning(SAXParseException) - method in class org.logicalcobwebs.proxool.configuration.XMLConfigurator
FJTask.Wrap - class org.logicalcobwebs.concurrent.FJTask.Wrap
A FJTask that holds a Runnable r, and calls r.run when executed.
Wrap(Runnable) - constructor for class org.logicalcobwebs.concurrent.FJTask.Wrap
wrapped - field in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
WrappedConnection - class org.logicalcobwebs.proxool.WrappedConnection
Wraps up a ProxyConnection.
WrappedConnection(org.logicalcobwebs.proxool.ProxyConnection) - constructor for class org.logicalcobwebs.proxool.WrappedConnection
Construct this wrapper around the proxy connection
writeLock() - method in class org.logicalcobwebs.concurrent.ReadWriteLock
get the writeLock *
writeLock() - method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
get the writeLock *
writerLock_ - field in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
WriterPreferenceReadWriteLock - class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
A ReadWriteLock that prefers waiting writers over waiting readers when there is contention.

X

XMLConfigurator - class org.logicalcobwebs.proxool.configuration.XMLConfigurator
A SAX 2 ContentHandler that can configure Proxool from an XML source.
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.