- AbstractListenerContainer - Class in org.logicalcobwebs.proxool.util
-
Implementation of
ListenerContainerIF
that uses a reads/write lock to handle concurrency in a safe and
fast way.
- AbstractListenerContainer() - Constructor for class org.logicalcobwebs.proxool.util.AbstractListenerContainer
-
- acceptsURL(String) - Method in class org.logicalcobwebs.proxool.ProxoolDriver
-
- acquire() - Method in interface org.logicalcobwebs.concurrent.Sync
-
Wait (possibly forever) until successful passage.
- acquire() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.ReaderLock
-
- acquire() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.WriterLock
-
- active - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Record whether current thread may be processing a task
(i.e., has been started and is not in an idle wait).
- activeCount - Variable in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Number of threads that are not waiting for work
- activeReaders_ - Variable in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
- activeWriter_ - Variable in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
- add(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
-
Add amount to value (i.e., set value += amount)
- add(Object) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Appends the specified element to the end of this list.
- 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.
- 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.
- addConfigurationListener(String, ConfigurationListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Adds a listener that gets called everytime the configuration changes.
- addConnectionListener(String, ConnectionListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Add a listener that monitors each time a connection is made or destroyed.
- addListener(Object) - Method in class org.logicalcobwebs.proxool.util.AbstractListenerContainer
-
- addListener(Object) - Method in interface org.logicalcobwebs.proxool.util.ListenerContainerIF
-
Add a listener to this container.
- addNotificationListener(NotificationListener, NotificationFilter, Object) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- addOpenStatement(Statement) - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
By calling this we can keep track of any statements that are
left open when this connection is returned to the pool.
- addProxoolListener(ProxoolListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Add a listener that gets called everytime a global Proxool event ocours.
- addSqlCall(String) - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- addStateListener(String, StateListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Add a listener that monitors the change of state of the pool (quiet, busy, overloaded, or down)
- addStatisticsListener(StatisticsListenerIF) - Method in class org.logicalcobwebs.proxool.admin.Admin
-
- addStatisticsListener(String, StatisticsListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Add a listener that receives statistics as they are produced
- Admin - Class in org.logicalcobwebs.proxool.admin
-
Provides statistics about the performance of a pool.
- Admin(ConnectionPoolDefinitionIF) - Constructor for class org.logicalcobwebs.proxool.admin.Admin
-
- AdminServlet - Class in org.logicalcobwebs.proxool.admin.servlet
-
Use this to admin each pool within Proxool.
- AdminServlet() - Constructor for class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
-
- ALIAS - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
Un-prefixed propety name for the Proxool alias configuration property.
- ALIAS_DELIMITER - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- ALIAS_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
Used to build up URL
- allowReader() - Method in class org.logicalcobwebs.concurrent.ReaderPreferenceReadWriteLock
-
- allowReader() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
Override this method to change to reader preference
- and(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
-
Set value to value & b.
- attempt(long) - Method in interface org.logicalcobwebs.concurrent.Sync
-
Wait at most msecs to pass; report whether passed.
- attempt(long) - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.ReaderLock
-
- attempt(long) - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.WriterLock
-
- ATTRIBUTE_DESCRIPTIONS - Static variable in interface org.logicalcobwebs.proxool.resources.ResourceNamesIF
-
Name of the attributeDescriptions resource.
- AvalonConfigurator - Class in org.logicalcobwebs.proxool.configuration
-
- AvalonConfigurator() - Constructor for class org.logicalcobwebs.proxool.configuration.AvalonConfigurator
-
- awaitTermination() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
-
- call() - Method in interface org.logicalcobwebs.concurrent.Callable
-
Perform some action that returns a result or throws an exception
- Callable - Interface in org.logicalcobwebs.concurrent
-
Interface for runnable actions that bear results and/or throw Exceptions.
- cancel() - Method in class org.logicalcobwebs.concurrent.FJTask
-
Set the termination status of this task.
- cancel(String) - Static method in class org.logicalcobwebs.proxool.HouseKeeperController
-
cancel a house keeper for a pool.
- 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
-
- cancelAll() - Method in class org.logicalcobwebs.proxool.admin.Admin
-
Cancels the timer that outputs the stats
- cancelledWaitingReader() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
- cancelledWaitingWriter() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
- capacity() - Method in interface org.logicalcobwebs.concurrent.BoundedChannel
-
Return the maximum number of elements that can be held.
- Channel - Interface in org.logicalcobwebs.concurrent
-
Main interface for buffers, queues, pipes, conduits, etc.
- characters(char[], int, int) - Method in class org.logicalcobwebs.proxool.configuration.XMLConfigurator
-
- checkActive(FJTaskRunner, long) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Set active status of thread t to false, and
then wait until: (a) there is a task in the entry
queue, or (b) other threads are active, or (c) the current
thread is interrupted.
- checkOverflow() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Adjust top and base, and grow DEQ if necessary.
- checkSimultaneousBuildThrottle() - Method in class org.logicalcobwebs.proxool.Prototyper
-
Checks whether we are currently already building too many connections
- clear() - Method in class org.logicalcobwebs.concurrent.FutureResult
-
Clear the value and exception and set to not-ready,
allowing this FutureResult to be reused.
- clear() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Remove all of the elements from this list.
- clone() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Return a shallow copy of this FastArrayList
instance.
- close() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- close() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
Doesn't really close the connection, just puts it back in the pool.
- CLOSE_ON_DISPOSE_ATTRIBUTE - Static variable in class org.logicalcobwebs.proxool.configuration.AvalonConfigurator
-
Constant for the boolean "close-on-dispose" attribute that signifies
wether or not this configurator shall close the pools it has created
when it is disposed.
- coInvoke(FJTask, FJTask) - Static method in class org.logicalcobwebs.concurrent.FJTask
-
Fork both tasks and then wait for their completion.
- coInvoke(FJTask[]) - Static method in class org.logicalcobwebs.concurrent.FJTask
-
Fork all tasks in array, and await their completion.
- coInvoke(FJTask, FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
A specialized expansion of
w.fork(); invoke(v); w.join();
- coInvoke(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(SynchronizedInt) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
-
- compareTo(Object) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
-
- compareTo(Object) - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- complement() - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
-
Set the value to its complement
- CompositeConfigurationListener - Class in org.logicalcobwebs.proxool
-
- CompositeConfigurationListener() - Constructor for class org.logicalcobwebs.proxool.CompositeConfigurationListener
-
- CompositeConnectionListener - Class in org.logicalcobwebs.proxool
-
A
ConnectionListenerIF
that keeps a list of
ConnectionListenerIF
s
and notifies them in a thread safe manner.
- CompositeConnectionListener() - Constructor for class org.logicalcobwebs.proxool.CompositeConnectionListener
-
- CompositeProxoolListener - Class in org.logicalcobwebs.proxool
-
A
ProxoolListenerIF
that keeps a list of
ProxoolListenerIF
s
and notifies them in a thread safe manner.
- CompositeProxoolListener() - Constructor for class org.logicalcobwebs.proxool.CompositeProxoolListener
-
- CompositeStateListener - Class in org.logicalcobwebs.proxool
-
A
StateListenerIF
that keeps a list of
StateListenerIF
s
and notifies them in a thread safe manner.
- CompositeStateListener() - Constructor for class org.logicalcobwebs.proxool.CompositeStateListener
-
- CompositeStatisticsListener - Class in org.logicalcobwebs.proxool.admin
-
A
StatisticsListenerIF
that keeps a list of
StatisticsListenerIF
s
and notifies them in a thread safe manner.
- CompositeStatisticsListener() - Constructor for class org.logicalcobwebs.proxool.admin.CompositeStatisticsListener
-
- ConfigurationListenerIF - Interface in org.logicalcobwebs.proxool
-
- 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(String, boolean) - Static method in class org.logicalcobwebs.proxool.configuration.JAXPConfigurator
-
Configure Proxool with xml from the given file.
- configure(InputSource, boolean) - Static method in class org.logicalcobwebs.proxool.configuration.JAXPConfigurator
-
Configure Proxool with xml from the given InputSource.
- 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(Properties) - Static method in class org.logicalcobwebs.proxool.configuration.PropertyConfigurator
-
Configure proxool with the given properties.
- confirmPop(int) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Check under synch lock if DEQ is really empty when doing pop.
- confirmTake(int) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
double-check a potential take
- connect(String, Properties) - Method in class org.logicalcobwebs.proxool.ProxoolDriver
-
The url should be of the form:
- ConnectionBuilderIF - Interface in org.logicalcobwebs.proxool
-
- ConnectionInfoIF - Interface in org.logicalcobwebs.proxool
-
Provides information about an individual connection.
- ConnectionListenerIF - Interface in org.logicalcobwebs.proxool
-
You can listen to the lifecycle of a connection.
- ConnectionPoolDefinitionIF - Interface in org.logicalcobwebs.proxool
-
A full definition of everything to do with a connection.
- ConnectionPoolMBean - Class in org.logicalcobwebs.proxool.admin.jmx
-
JMX DynamicMBean adapter for a Proxool connection pool.
See the configuration documentation to learn
how to activate a pool for JMX.
- ConnectionPoolMBean(String, Properties) - Constructor for class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- ConnectionPoolStatisticsIF - Interface in org.logicalcobwebs.proxool
-
This provides real time information about the pool.
- connectionRefused() - Method in class org.logicalcobwebs.proxool.admin.Admin
-
Call this every time a connection is refused
- connectionRemoved() - Method in class org.logicalcobwebs.proxool.Prototyper
-
This needs to be called _everytime_ a connection is removed.
- ConnectionResetter - Class in org.logicalcobwebs.proxool
-
Responsible for resetting a Connection to its default state when it is
returned to the pool.
- ConnectionResetter(Log, String) - Constructor for class org.logicalcobwebs.proxool.ConnectionResetter
-
Pass in the log to use
- connectionReturned(long) - Method in class org.logicalcobwebs.proxool.admin.Admin
-
Call this every time an active connection is returned to the pool
- ConnectionValidatorIF - Interface in org.logicalcobwebs.proxool
-
- contains(Object) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Return true
if this list contains the specified element.
- containsAll(Collection) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Return true
if this list contains all of the elements
in the specified Collection.
- FastArrayList - Class in org.logicalcobwebs.proxool.util
-
A customized implementation of java.util.ArrayList
designed
to operate in a multithreaded environment where the large majority of
method calls are read-only, instead of structural changes.
- FastArrayList() - Constructor for class org.logicalcobwebs.proxool.util.FastArrayList
-
Construct a an empty list.
- FastArrayList(int) - Constructor for class org.logicalcobwebs.proxool.util.FastArrayList
-
Construct an empty list with the specified capacity.
- FastArrayList(Collection) - Constructor for class org.logicalcobwebs.proxool.util.FastArrayList
-
Construct a list containing the elements of the specified collection,
in the order they are returned by the collection's iterator.
- FATAL_SQL_EXCEPTION - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- FATAL_SQL_EXCEPTION_DETECTED - Static variable in interface org.logicalcobwebs.proxool.ConnectionListenerIF
-
- FATAL_SQL_EXCEPTION_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- FATAL_SQL_EXCEPTION_WRAPPER_CLASS - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- FATAL_SQL_EXCEPTION_WRAPPER_CLASS_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- FATAL_SQL_EXCEPTIONS_DELIMITER - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- fatalError(SAXParseException) - Method in class org.logicalcobwebs.proxool.configuration.XMLConfigurator
-
- FatalRuntimeException - Exception in org.logicalcobwebs.proxool
-
A type of SQLException that has been defined as fatal.
- FatalRuntimeException(Exception) - Constructor for exception org.logicalcobwebs.proxool.FatalRuntimeException
-
- FatalSQLException - Exception in org.logicalcobwebs.proxool
-
A type of SQLException that has been defined as fatal.
- FatalSQLException(SQLException) - Constructor for exception org.logicalcobwebs.proxool.FatalSQLException
-
- FatalSQLException(SQLException, String, String) - Constructor for exception org.logicalcobwebs.proxool.FatalSQLException
-
- finalize() - Method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- FJTask - Class in org.logicalcobwebs.concurrent
-
Abstract base class for Fork/Join Tasks.
- FJTask() - Constructor for class org.logicalcobwebs.concurrent.FJTask
-
- FJTask.Par - Class in org.logicalcobwebs.concurrent
-
A new Par
, when executed,
runs the tasks provided in the constructor in parallel using
coInvoke(tasks).
- FJTask.Par(FJTask[]) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Par
-
Construct a Seq that, when executed, will process each of the
tasks in the tasks array in parallel
- FJTask.Par(FJTask, FJTask) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Par
-
Two-task constructor, for compatibility with previous release.
- FJTask.Par2 - Class in org.logicalcobwebs.concurrent
-
A new Par(task1, task2)
, when executed,
runs task1 and task2 in parallel using coInvoke(task1, task2).
- FJTask.Par2(FJTask, FJTask) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Par2
-
- FJTask.Seq - Class in org.logicalcobwebs.concurrent
-
A new Seq
, when executed,
invokes each task provided in the constructor, in order.
- FJTask.Seq(FJTask[]) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Seq
-
Construct a Seq that, when executed, will process each of the
tasks in the tasks array in order
- FJTask.Seq(FJTask, FJTask) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Seq
-
Two-task constructor, for compatibility with previous release.
- FJTask.Seq2 - Class in org.logicalcobwebs.concurrent
-
A new Seq2(task1, task2)
, when executed,
invokes task1 and then task2, in order.
- FJTask.Seq2(FJTask, FJTask) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Seq2
-
- FJTask.Wrap - Class in org.logicalcobwebs.concurrent
-
A FJTask that holds a Runnable r, and calls r.run when executed.
- FJTask.Wrap(Runnable) - Constructor for class org.logicalcobwebs.concurrent.FJTask.Wrap
-
- FJTaskRunner - Class in org.logicalcobwebs.concurrent
-
Specialized Thread subclass for running FJTasks.
- FJTaskRunner(FJTaskRunnerGroup) - Constructor for class org.logicalcobwebs.concurrent.FJTaskRunner
-
Constructor called only during FJTaskRunnerGroup initialization
- FJTaskRunner.VolatileTaskRef - Class in org.logicalcobwebs.concurrent
-
An object holding a single volatile reference to a FJTask.
- FJTaskRunner.VolatileTaskRef() - Constructor for class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
-
- FJTaskRunnerGroup - Class in org.logicalcobwebs.concurrent
-
A stripped down analog of a ThreadGroup used for
establishing and managing FJTaskRunner threads.
- FJTaskRunnerGroup(int) - Constructor for class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Create a FJTaskRunnerGroup with the indicated number
of FJTaskRunner threads.
- FJTaskRunnerGroup.InvokableFJTask - Class in org.logicalcobwebs.concurrent
-
Wrap wait/notify mechanics around a task so that
invoke() can wait it out
- FJTaskRunnerGroup.InvokableFJTask(Runnable) - Constructor for class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
-
- fork() - Method in class org.logicalcobwebs.concurrent.FJTask
-
Arrange for execution of a strictly dependent task.
- formatBigNumber(long) - Static method in class org.logicalcobwebs.proxool.FormatHelper
-
Format like ###000000
- FormatHelper - Class in org.logicalcobwebs.proxool
-
Formats things as Strings
- FormatHelper() - Constructor for class org.logicalcobwebs.proxool.FormatHelper
-
- formatMediumNumber(long) - Static method in class org.logicalcobwebs.proxool.FormatHelper
-
Format like 0000
- formatSmallNumber(long) - Static method in class org.logicalcobwebs.proxool.FormatHelper
-
Format like 00
- fst - Variable in class org.logicalcobwebs.concurrent.FJTask.Par2
-
- fst - Variable in class org.logicalcobwebs.concurrent.FJTask.Seq2
-
- FutureResult - Class in org.logicalcobwebs.concurrent
-
A class maintaining a single reference variable serving as the result
of an operation.
- FutureResult() - Constructor for class org.logicalcobwebs.concurrent.FutureResult
-
Create an initially unset FutureResult
- get() - Static method in class org.logicalcobwebs.concurrent.DefaultChannelCapacity
-
Get the default capacity used in
default (no-argument) constructor for BoundedChannels
that otherwise require a capacity argument.
- get() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
-
Return the reference
- get() - Method in class org.logicalcobwebs.concurrent.FutureResult
-
Access the reference, waiting if necessary until it is ready.
- get() - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
-
Return the current value
- get(int) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Return the element at the specified position in the list.
- getActive(FJTaskRunner) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Return active status of t.
- getActiveConnectionCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
-
The number of active (busy) connections
- getActiveConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
The number of connections currently in use.
- getActiveCount() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Return the number of threads that are not idly waiting for work.
- getAge() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The age in millseconds since this connection was built
- getAge() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getAlias() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The name associated with this connection pool.
- getAlias() - Method in class org.logicalcobwebs.proxool.Prototyper
-
The alias of the pool we are prototyping for
- getAlias() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getAlias(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Extracts the pool alias from the url:
proxool.alias:driver:url -> alias
proxool.alias -> alias
- getAlias(Connection) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Get the alias for the connection pool that served a connection
- getAlias() - Method in class org.logicalcobwebs.proxool.WrappedConnection
-
Get the alias of the connection pool this connection belongs to
- getAliases() - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Get a list of all the registered pools
- getArray() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Return the array of threads in this group.
- getAttribute(String) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- getAttributes(String[]) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- getAvailableConnectionCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
-
The number of available (free) connections
- getAvailableConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
The number of connections that are available for use (doesn't include
active connections).
- getAverageActiveCount() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
-
The average number of active connections,
- getAverageActiveTime() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
-
The average time that each connection spent active.
- getBirthDate() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
- getBirthDate() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getBirthTime() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The time that this connection was created.
- getBirthTime() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getCause() - Method in exception org.logicalcobwebs.proxool.FatalRuntimeException
-
- getCause() - Method in exception org.logicalcobwebs.proxool.FatalSQLException
-
- getCause() - Method in exception org.logicalcobwebs.proxool.ProxoolException
-
Returns the cause of this exception or null
if the
cause is nonexistent or unknown.
- getCompleteUrl() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The URL that was used to define this pool.
- getConcreteMethod(Class, Method) - Static method in class org.logicalcobwebs.proxool.proxy.InvokerFacade
-
Returns the method in the concrete class with an indentical signature to that passed
- getConcreteMethod(Method) - Method in class org.logicalcobwebs.proxool.proxy.MethodMapper
-
Returns the method in the concrete class with an indentical signature to that passed
as a parameter
- getConnection() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getConnection(String, String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getConnection() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getConnection() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
The real, delegate connection that we are using
- getConnectionCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
-
- getConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
- getConnectionCount() - Method in class org.logicalcobwebs.proxool.Prototyper
-
The total number of connections, including those being built right
now
- getConnectionInfo(long) - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
-
The details of one connection.
- getConnectionInfos() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
-
The details of each connection.
- getConnectionInfos(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- getConnectionPool() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
The ConnectionPool that this connection belongs to
- getConnectionPoolDefinition(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Get the definition of a pool.
- getConnectionPoolStatistics(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- getConnectionPoolStatisticsDump(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- getConnectionsRefusedCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
The number of connections refused.
- getConnectionsServedCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
The number of connections provided.
- getDateStarted() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
-
When the pool was started
- getDateStarted() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
When this pool was started
- getDebugLevel() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getDefinition() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
Get the definition that was used to create this connection
- getDefinition() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
- getDelegateConnection(Connection) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Deprecated.
Just cast the connection that you are given into the driver specific one.
- getDelegateHashcode() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The hashcode (in hex) of the delegate connection object.
- getDelegateHashcode() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getDelegateProperties() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
Get all of the properties that are defined on the delegated driver.
- getDelegateProperty(String) - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getDelegateStatement(Statement) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Deprecated.
Just cast the statement that you are given into the driver specific one.
- getDelegateUrl() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The URL that this connection is using (the definition
might have changed since this connection was built).
- getDelegateUrl() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getDriver() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getDriver() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getDriverUrl() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getException() - Method in class org.logicalcobwebs.concurrent.FutureResult
-
Get the exception, or null if there isn't one (yet).
- getFast() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Returns true if this list is operating in fast mode.
- getFatalSqlExceptions() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
Get the list of fatal SQL exception (Strings) fragments that will
trigger the death of a Connection.
- getFatalSqlExceptionsAsString() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getFatalSqlExceptionWrapper() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
If this is not-null then any fatal SQLException is wrapped up inside
an instance of this class.
- getFatalSqlExceptionWrapperClass() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getFJTaskRunner() - Static method in class org.logicalcobwebs.concurrent.FJTask
-
Return the FJTaskRunner thread running the current FJTask.
- getFJTaskRunnerGroup() - Static method in class org.logicalcobwebs.concurrent.FJTask
-
Return the FJTaskRunnerGroup of the thread running the current FJTask.
- getGroup() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Return the FJTaskRunnerGroup of which this thread is a member
- getHouseKeeperToRun() - Static method in class org.logicalcobwebs.proxool.HouseKeeperController
-
Get the next house keeper that needs to be run
- getHouseKeepingSleepTime() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
This is the time the house keeping thread sleeps for between checks.
- getHouseKeepingSleepTime() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getHouseKeepingTestSql() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The test SQL that we perform to see if a connection is alright.
- getHouseKeepingTestSql() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getId() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
A unique ID for this connection
- getId(Connection) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Get the connection ID for a connection
- getId() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getId() - Method in class org.logicalcobwebs.proxool.WrappedConnection
-
- getInitialContextFactory() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
JNDI property
- getInjectableCallableStatementInterface() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The class name of an interface that should be injected everytime we make a CallableStatement.
- getInjectableConnectionInterface() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The class name of an interface that should be injected everytime we make a Connection.
- getInjectablePreparedStatementInterface() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The class name of an interface that should be injected everytime we make a PreparedStatement.
- getInjectableStatementInterface() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The class name of an interface that should be injected everytime we make a Statement.
- getJdbcDriverVersion() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getJmxAgentId() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
Get a comma separated list of JMX agent ids (as used by
MBeanServerFactory.findMBeanServer(String agentId)
) to register the pool to.
- getJmxAgentId() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getJndiName() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
JNDI property
- getLastSqlCall() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getLastSqlCall() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
- getListeners() - Method in class org.logicalcobwebs.proxool.util.AbstractListenerContainer
-
Get a reference to the array of registered listeners.
- getLock() - Method in class org.logicalcobwebs.concurrent.SynchronizedVariable
-
Return the lock used for all synchronization for this object
- getLoginTimeout() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getLogWriter() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getMajorVersion() - Method in class org.logicalcobwebs.proxool.ProxoolDriver
-
- getMark() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
Sometimes we want do something to a connection but can't because it is still
active and we don't want to disrupt its use.
- getMark() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getMaximumActiveTime() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
If the housekeeper comes across a thread that has been active for longer
than this then it will kill it.
- getMaximumActiveTime() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getMaximumConnectionCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
-
Get the maximum possible connections (as defined in the
definition
.
- getMaximumConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The maximum number of connections to the database
- getMaximumConnectionCount() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getMaximumConnectionLifetime() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The maximum amount of time that a connection exists for before it is killed (recycled).
- getMaximumConnectionLifetime() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getMaximumNewConnections() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getMBeanInfo() - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- getMinimumConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The minimum number of connections we will keep open, regardless of whether anyone needs them or not.
- getMinimumConnectionCount() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getMinorVersion() - Method in class org.logicalcobwebs.proxool.ProxoolDriver
-
- getName() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getNotificationInfo() - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- getObjectInstance(Object, Name, Context, Hashtable) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getObjectName(String) - Static method in class org.logicalcobwebs.proxool.admin.jmx.ProxoolJMXHelper
-
Get the prefered JMX object name for a Proxool pool.
- getOfflineConnectionCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
-
The number of offline connections.
- getOfflineConnectionCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolStatisticsIF
-
The number of connections that are neither active or available.
- getOriginalSQLException() - Method in exception org.logicalcobwebs.proxool.FatalSQLException
-
Get the SQLException that was detected as being fatal
- getOverloadWithoutRefusalLifetime() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
This is the time in milliseconds after the last time that we refused a
connection that we still consider ourselves to be overloaded.
- getOverloadWithoutRefusalLifetime() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getParentLogger() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getParentLogger() - Method in class org.logicalcobwebs.proxool.ProxoolDriver
-
- getPassword() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The password to use to login to the database
- getPassword() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getPeriod() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
-
The length of time this sample represents,
- getProperties() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getPropertyInfo(String, Properties) - Method in class org.logicalcobwebs.proxool.ProxoolDriver
-
- getPrototypeCount() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
This is the number of spare connections we will strive to have.
- getPrototypeCount() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getProviderUrl() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
JNDI property
- getProxyConnection() - Method in class org.logicalcobwebs.proxool.WrappedConnection
-
Get the encapsulated proxy connection
- getProxyHashcode() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The hashcode (in hex) of the ProxyConnection object.
- getProxyHashcode() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getReasonCode() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getReasonCode() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
Get the reason why this connection is
marked
- getReasonForMark() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getReasonForMark() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
Why this connection is marked (for instance, if a thread has
marked it for expiry then it's nice to know why)
- getRecentlyStartedThreshold() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
As long as we have one connection that was started within this threshold
then we consider the pool to be up.
- getRecentlyStartedThreshold() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getRefusedCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
-
How many connections have been refused since the pool started
- getRefusedCount() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
-
The number of connections refused during this sample.
- getRefusedPerSecond() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
-
The rate at which we have refused connections
- getRequester() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The name of the thread that asked for this connection.
- getRequester() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getSecurityAuthentication() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
JNDI property
- getSecurityCredentials() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
JNDI property
- getSecurityPrincipal() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
JNDI property
- getServedCount() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
-
How many connections have been served since the pool started
- getServedCount() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
-
The number of connections served during this sample.
- getServedPerSecond() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
-
The rate at which we have served connections
- getSimultaneousBuildThrottle() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
In order to prevent overloading, this is the maximum number of connections that you can have that are in the progress
of being made.
- getSimultaneousBuildThrottle() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getSnapshot(ConnectionPoolStatisticsIF, ConnectionPoolDefinitionIF, Collection) - Static method in class org.logicalcobwebs.proxool.admin.Admin
-
Get a new snapshot
- getSnapshot(String, boolean) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Gives a snapshot of what the pool is doing
- getSnapshot(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Calls
getSnapshot
using false for the detail parameter.
- getSnapshotDate() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
-
The date that this snapshot applies
- getSqlCalls() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
A log of the last SQL used on this connection.
- getSqlCalls() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getStartDate() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
-
When this sample started.
- getStatistics(String) - Method in class org.logicalcobwebs.proxool.admin.Admin
-
Returns the most recent sample that has completed its period
- getStatistics() - Method in class org.logicalcobwebs.proxool.admin.Admin
-
- getStatistics() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
The sample length (in seconds) when taking statistical information,
or null to disable statistics.
- getStatistics() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getStatistics(String, String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Get a particular set of performance statistics for this pool
- getStatistics(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Get all the lastest performance statistics for this pool
- getStatisticsLogLevel() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
Whether statistics are logged as they are produced.
- getStatisticsLogLevel() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getStatus() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The status of the connection.
- getStatus() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getStopDate() - Method in interface org.logicalcobwebs.proxool.admin.StatisticsIF
-
When this sample stopped
- getTimeLastStartActive() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
When this connection was last given out.
- getTimeLastStartActive() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getTimeLastStopActive() - Method in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
When this connection was last given back (or zero if it is still active).
- getTimeLastStopActive() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- getUrl() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
This is the URL used to connect to the database.
- getUser() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- getUser() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- getValidIdentifier(String) - Static method in class org.logicalcobwebs.proxool.admin.jmx.ProxoolJMXHelper
-
Generate a valid JMX identifier attribute name from a Proxool property name.
- getVersion() - Static method in class org.logicalcobwebs.proxool.Version
-
- group - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
-
The group of which this FJTaskRunner is a member
- increment() - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
-
Increment the value.
- indexOf(Object) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Search for the first occurrence of the given argument, testing
for equality using the equals()
method, and return
the corresponding index, or -1 if the object is not found.
- init(ServletConfig) - Method in class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
-
- init(ServletConfig) - Method in class org.logicalcobwebs.proxool.configuration.ServletConfigurator
-
- initCause(Throwable) - Method in exception org.logicalcobwebs.proxool.ProxoolException
-
Initializes the cause of this exception to the specified value.
- INITIAL_CAPACITY - Static variable in class org.logicalcobwebs.concurrent.FJTaskRunner
-
FJTasks are held in an array-based DEQ with INITIAL_CAPACITY
elements.
- INITIAL_DEFAULT_CAPACITY - Static variable in class org.logicalcobwebs.concurrent.DefaultChannelCapacity
-
The initial value of the default capacity is 1024
- initialise(Connection) - Method in class org.logicalcobwebs.proxool.ConnectionResetter
-
This gets called every time we make a Connection.
- initializeThreads() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Create all FJTaskRunner threads in this group.
- INJECTABLE_CALLABLE_STATEMENT_INTERFACE_NAME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- INJECTABLE_CALLABLE_STATEMENT_INTERFACE_NAME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- INJECTABLE_CONNECTION_INTERFACE_NAME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- INJECTABLE_CONNECTION_INTERFACE_NAME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- INJECTABLE_PREPARED_STATEMENT_INTERFACE_NAME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- INJECTABLE_PREPARED_STATEMENT_INTERFACE_NAME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- INJECTABLE_STATEMENT_INTERFACE_NAME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- INJECTABLE_STATEMENT_INTERFACE_NAME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- insert(Object) - Method in class org.logicalcobwebs.concurrent.LinkedQueue
-
Main mechanics for put/offer
- intercept(Object, Method, Object[], MethodProxy) - Method in class org.logicalcobwebs.proxool.WrappedConnection
-
- interruptAll() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Try to shut down all FJTaskRunner threads in this group
by interrupting them all.
- invoke(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, Object[], String[]) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- 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
.
- InvokerFacade - Class in org.logicalcobwebs.proxool.proxy
-
Invokes a method using a cached method.
- InvokerFacade() - Constructor for class org.logicalcobwebs.proxool.proxy.InvokerFacade
-
- isActive() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- isActive() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
- isAvailable() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- isAvailable() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
- isClosed() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
Whether this connection is available.
- isDetail() - Method in interface org.logicalcobwebs.proxool.admin.SnapshotIF
-
Whether we have requested detailed information about each
connection
- isDone() - Method in class org.logicalcobwebs.concurrent.FJTask
-
Return true if current task has terminated or been cancelled.
- isEmpty() - Method in class org.logicalcobwebs.concurrent.LinkedQueue
-
- isEmpty() - Method in class org.logicalcobwebs.proxool.util.AbstractListenerContainer
-
- isEmpty() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Test if this list has no elements.
- isEmpty() - Method in interface org.logicalcobwebs.proxool.util.ListenerContainerIF
-
Get wether this container is empty or not.
- isJmx() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
Indicate wether this pool should be registered with JMX or not.
- isJmx() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- isKeepSweeping() - Static method in class org.logicalcobwebs.proxool.PrototyperController
-
- isMarkedForExpiry() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- isMarkedForExpiry() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
Whether this connection is due for expiry
- isNull() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- isNull() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
- isOffline() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- isOffline() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
- isReady() - Method in class org.logicalcobwebs.concurrent.FutureResult
-
Return whether the reference or exception have been set.
- isReallyClosed() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- isReallyClosed() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
Find out if the delegated connection is close.
- isShutdownHookEnabled() - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Whether the ShutdownHook
should do anything.
- isSweepNeeded() - Method in class org.logicalcobwebs.proxool.Prototyper
-
- isTestAfterUse() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
Whether we test each connection after it is closed
(that is, returned to the pool)
- isTestAfterUse() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- isTestBeforeUse() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
Whether we test each connection before it is served
- isTestBeforeUse() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- isTrace() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
if this is true then we will log each execution.
- isTrace() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- isVerbose() - Method in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
If this is true then we start logging a lot of stuff everytime we serve a
connection and everytime the house keeper and prototyper run.
- isVerbose() - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- isWrapperFor(Class<?>) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- iterator() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Return an iterator over the elements in this list in proper sequence.
- offer(Object, long) - Method in interface org.logicalcobwebs.concurrent.Channel
-
Place item in channel only if it can be accepted within
msecs milliseconds.
- offer(Object, long) - Method in class org.logicalcobwebs.concurrent.LinkedQueue
-
- offer(Object, long) - Method in interface org.logicalcobwebs.concurrent.Puttable
-
Place item in channel only if it can be accepted within
msecs milliseconds.
- onBirth(Connection) - Method in class org.logicalcobwebs.proxool.CompositeConnectionListener
-
- onBirth(Connection) - Method in interface org.logicalcobwebs.proxool.ConnectionListenerIF
-
Happens everytime we create a new connection.
- onDeath(Connection, int) - Method in class org.logicalcobwebs.proxool.CompositeConnectionListener
-
- onDeath(Connection, int) - Method in interface org.logicalcobwebs.proxool.ConnectionListenerIF
-
Happens just before we expire a connection.
- ONE_CENTURY - Static variable in interface org.logicalcobwebs.concurrent.Sync
-
One century in milliseconds; convenient as a time-out value
- ONE_DAY - Static variable in interface org.logicalcobwebs.concurrent.Sync
-
One day, in milliseconds; convenient as a time-out value
- ONE_HOUR - Static variable in interface org.logicalcobwebs.concurrent.Sync
-
One hour, in milliseconds; convenient as a time-out value
- ONE_MINUTE - Static variable in interface org.logicalcobwebs.concurrent.Sync
-
One minute, in milliseconds; convenient as a time-out value
- ONE_SECOND - Static variable in interface org.logicalcobwebs.concurrent.Sync
-
One second, in milliseconds; convenient as a time-out value
- ONE_WEEK - Static variable in interface org.logicalcobwebs.concurrent.Sync
-
One week, in milliseconds; convenient as a time-out value
- ONE_YEAR - Static variable in interface org.logicalcobwebs.concurrent.Sync
-
One year in milliseconds; convenient as a time-out value
- onExecute(String, long) - Method in class org.logicalcobwebs.proxool.CompositeConnectionListener
-
- onExecute(String, long) - Method in interface org.logicalcobwebs.proxool.ConnectionListenerIF
-
Happens after every successful execute.
- onFail(String, Exception) - Method in class org.logicalcobwebs.proxool.CompositeConnectionListener
-
- onFail(String, Exception) - Method in interface org.logicalcobwebs.proxool.ConnectionListenerIF
-
Happens everytime an exception was thrown during an execute method
Note that the command
is not fully implemented at this stage.
- onRegistration(ConnectionPoolDefinitionIF, Properties) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
Not used.
- onRegistration(ConnectionPoolDefinitionIF, Properties) - Method in class org.logicalcobwebs.proxool.CompositeProxoolListener
-
- onRegistration(ConnectionPoolDefinitionIF, Properties) - Method in interface org.logicalcobwebs.proxool.ProxoolListenerIF
-
Notify that a new connection pool has been registered.
- onShutdown(String) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
If the given alias equals this pools alias: Unregister this JMX bean.
- onShutdown(String) - Method in class org.logicalcobwebs.proxool.CompositeProxoolListener
-
- onShutdown(String) - Method in interface org.logicalcobwebs.proxool.ProxoolListenerIF
-
Notify that a connection pool will be shutdown.
- open() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
This gets called /just/ before a connection is served.
- or(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
-
Set value to value | b.
- org.logicalcobwebs.concurrent - package org.logicalcobwebs.concurrent
-
Concurrency utilities.
- org.logicalcobwebs.proxool - package org.logicalcobwebs.proxool
-
A Java SQL Driver that provides a connection pool wrapper around another Driver of your choice.
- org.logicalcobwebs.proxool.admin - package org.logicalcobwebs.proxool.admin
-
Provides statistical information on each pool.
- org.logicalcobwebs.proxool.admin.jmx - package org.logicalcobwebs.proxool.admin.jmx
-
Contains an MBean adapter to manage pools through JMX plus a utility to register/deregister these beans.
- org.logicalcobwebs.proxool.admin.jndi - package org.logicalcobwebs.proxool.admin.jndi
-
Contains a helper that can create a Proxool datasource and bind it to JNDI.
- org.logicalcobwebs.proxool.admin.servlet - package org.logicalcobwebs.proxool.admin.servlet
-
The AdminServlet provides information about running pools.
- org.logicalcobwebs.proxool.configuration - package org.logicalcobwebs.proxool.configuration
-
Helpers for configuring Proxool from various sources.
- org.logicalcobwebs.proxool.proxy - package org.logicalcobwebs.proxool.proxy
-
- org.logicalcobwebs.proxool.resources - package org.logicalcobwebs.proxool.resources
-
- org.logicalcobwebs.proxool.util - package org.logicalcobwebs.proxool.util
-
- OUTPUT_FULL - Static variable in class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
-
OUtput full HTML including <HTML>, <HEAD> and <BODY> tags.
- OUTPUT_SIMPLE - Static variable in class org.logicalcobwebs.proxool.admin.servlet.AdminServlet
-
OUtput simple HTML excluding <HTML>, <HEAD> and <BODY> tags.
- OVERLOAD_WITHOUT_REFUSAL_LIFETIME - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- OVERLOAD_WITHOUT_REFUSAL_LIFETIME_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- overrideConcreteMethod(Class, Method, Method) - Static method in class org.logicalcobwebs.proxool.proxy.InvokerFacade
-
- overrideConcreteMethod(Method, Method) - Method in class org.logicalcobwebs.proxool.proxy.MethodMapper
-
- par(FJTask[]) - Static method in class org.logicalcobwebs.concurrent.FJTask
-
Construct and return a FJTask object that, when executed, will
invoke the tasks in the tasks array in parallel using coInvoke
- par(FJTask, FJTask) - Static method in class org.logicalcobwebs.concurrent.FJTask
-
Construct and return a FJTask object that, when executed, will
invoke task1 and task2, in parallel
- PASSWORD_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF
-
- PASSWORD_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
Standard JDBC property
- peek() - Method in interface org.logicalcobwebs.concurrent.Channel
-
Return, but do not remove object at head of Channel,
or null if it is empty.
- peek() - Method in class org.logicalcobwebs.concurrent.FutureResult
-
Access the reference, even if not ready
- peek() - Method in class org.logicalcobwebs.concurrent.LinkedQueue
-
- poll(long) - Method in interface org.logicalcobwebs.concurrent.Channel
-
Return and remove an item from channel only if one is available within
msecs milliseconds.
- poll(long) - Method in class org.logicalcobwebs.concurrent.LinkedQueue
-
- poll(long) - Method in interface org.logicalcobwebs.concurrent.Takable
-
Return and remove an item from channel only if one is available within
msecs milliseconds.
- pollEntryQueue() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Return a task from entry queue, or null if empty.
- pop() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Return a popped task, or null if DEQ is empty.
- postDeregister() - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- postRegister(Boolean) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- preDeregister() - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- PREFIX - Static variable in class org.logicalcobwebs.proxool.configuration.PropertyConfigurator
-
- preRegister(MBeanServer, ObjectName) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- printStackTrace() - Method in exception org.logicalcobwebs.proxool.ProxoolException
-
Prints this ProxoolException and its backtrace to the
standard error stream.
- printStackTrace(PrintStream) - Method in exception org.logicalcobwebs.proxool.ProxoolException
-
Prints this ProxoolException and its backtrace to the specified print stream.
- printStackTrace(PrintWriter) - Method in exception org.logicalcobwebs.proxool.ProxoolException
-
Prints this ProxoolException and its backtrace to the specified
print writer.
- PROPERTY_PREFIX - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- PropertyConfigurator - Class in org.logicalcobwebs.proxool.configuration
-
Uses a standard Java properties file to configure Proxool.
- PropertyConfigurator() - Constructor for class org.logicalcobwebs.proxool.configuration.PropertyConfigurator
-
- PROTOTYPE_COUNT - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- PROTOTYPE_COUNT_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- Prototyper - Class in org.logicalcobwebs.proxool
-
Responsible for prototyping connections for all pools
- Prototyper(ConnectionPool) - Constructor for class org.logicalcobwebs.proxool.Prototyper
-
- PrototyperController - Class in org.logicalcobwebs.proxool
-
- PrototyperController() - Constructor for class org.logicalcobwebs.proxool.PrototyperController
-
- PrototyperThread - Class in org.logicalcobwebs.proxool
-
Responsible for running
sweep
.
- PrototyperThread(String) - Constructor for class org.logicalcobwebs.proxool.PrototyperThread
-
- PROXOOL - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- PROXOOL_XML_NAMESPACE_URI - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
The namespace uri associated with namepace aware Proxool xml configurations.
Value: The latest version is available at http://proxool.sourceforge.net/xml-namespace
- ProxoolConstants - Interface in org.logicalcobwebs.proxool
-
All constants here please.
- ProxoolDataSource - Class in org.logicalcobwebs.proxool
-
The Proxool DataSource implementation.
- ProxoolDataSource() - Constructor for class org.logicalcobwebs.proxool.ProxoolDataSource
-
- ProxoolDataSource(String) - Constructor for class org.logicalcobwebs.proxool.ProxoolDataSource
-
- ProxoolDriver - Class in org.logicalcobwebs.proxool
-
This is the Proxool implementation of the java.sql.Driver interface.
- ProxoolDriver() - Constructor for class org.logicalcobwebs.proxool.ProxoolDriver
-
- ProxoolException - Exception in org.logicalcobwebs.proxool
-
Proxool exception class that emulates the behaviour of the new cause
facility in jdk 1.4.
- ProxoolException() - Constructor for exception org.logicalcobwebs.proxool.ProxoolException
-
Constructs a new instance with null
as its detail message.
- ProxoolException(String) - Constructor for exception org.logicalcobwebs.proxool.ProxoolException
-
Constructs a new instance with the specified detail message.
- ProxoolException(String, Throwable) - Constructor for exception org.logicalcobwebs.proxool.ProxoolException
-
Constructs a new instance with the specified detail message and cause.
- ProxoolException(Throwable) - Constructor for exception org.logicalcobwebs.proxool.ProxoolException
-
Constructs a new throwable with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- ProxoolFacade - Class in org.logicalcobwebs.proxool
-
This provides some nice-to-have features that can't be provided by the
Driver
implementation
of java.sql.Driver.
- ProxoolFacade() - Constructor for class org.logicalcobwebs.proxool.ProxoolFacade
-
- ProxoolJMXHelper - Class in org.logicalcobwebs.proxool.admin.jmx
-
Utilities for Proxool JMX instrumentation.
- ProxoolJNDIHelper - Class in org.logicalcobwebs.proxool.admin.jndi
-
Utilities for Proxool JNDI operations.
- ProxoolListenerIF - Interface in org.logicalcobwebs.proxool
-
Listener for global Proxool events.
- ProxyConnection - Class in org.logicalcobwebs.proxool
-
Manages a connection.
- ProxyConnection(Connection, long, String, ConnectionPool, ConnectionPoolDefinitionIF, int) - Constructor for class org.logicalcobwebs.proxool.ProxyConnection
-
- ProxyConnectionIF - Interface in org.logicalcobwebs.proxool
-
Contains most of the functionality that we require to manipilate the
connection.
- push(FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Push a task onto DEQ.
- put(Object) - Method in interface org.logicalcobwebs.concurrent.Channel
-
Place item in the channel, possibly waiting indefinitely until
it can be accepted.
- put(FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Enqueue task at base of DEQ.
- put(FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
-
Set the reference
- put(Object) - Method in class org.logicalcobwebs.concurrent.LinkedQueue
-
- put(Object) - Method in interface org.logicalcobwebs.concurrent.Puttable
-
Place item in the channel, possibly waiting indefinitely until
it can be accepted.
- putLock_ - Variable in class org.logicalcobwebs.concurrent.LinkedQueue
-
Helper monitor for managing access to last node.
- Puttable - Interface in org.logicalcobwebs.concurrent
-
This interface exists to enable stricter type checking
for channels.
- readerLock_ - Variable in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
- ReaderPreferenceReadWriteLock - Class in org.logicalcobwebs.concurrent
-
A ReadWriteLock that prefers waiting readers over
waiting writers when there is contention.
- ReaderPreferenceReadWriteLock() - Constructor for class org.logicalcobwebs.concurrent.ReaderPreferenceReadWriteLock
-
- readLock() - Method in interface org.logicalcobwebs.concurrent.ReadWriteLock
-
get the readLock
- readLock() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
- ReadWriteLock - Interface in org.logicalcobwebs.concurrent
-
ReadWriteLocks maintain a pair of associated locks.
- ready_ - Variable in class org.logicalcobwebs.concurrent.FutureResult
-
Status -- true after first set
- reallyClose() - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
Close the connection for real
- reallyClose() - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
Really close the connection, as opposed to just putting it back
in the pool.
- RECENTLY_STARTED_THRESHOLD - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- RECENTLY_STARTED_THRESHOLD_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- redefineConnectionPool(String, Properties) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Redefine the behaviour of the pool.
- ref - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
-
The reference
- register(ConnectionPool) - Static method in class org.logicalcobwebs.proxool.HouseKeeperController
-
Schedule a regular triggerSweep
- registerClosedStatement(Statement) - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- registerClosedStatement(Statement) - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
Notify that a statement has been closed and won't need closing
when the connection is returned to the poo.
- registerConnectionPool(String, Properties) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Build a ConnectionPool based on this definition and then start it.
- registerConnectionPool(String, Properties, boolean) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Build a ConnectionPool based on this definition and then start it.
- registerConnectionPool(ConnectionPoolDefinition) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- registerConnectionPool(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
With no configurator or properties (using default values)
- 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
-
- release() - Method in interface org.logicalcobwebs.concurrent.Sync
-
Potentially enable others to pass.
- release() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.ReaderLock
-
- release() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock.WriterLock
-
- remove(int) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Remove the element at the specified position in the list, and shift
any subsequent elements down one position.
- remove(Object) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Remove the first occurrence of the specified element from the list,
and shift any subsequent elements down one position.
- removeAll(Collection) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Remove from this collection all of its elements that are contained
in the specified collection.
- removeAllConnectionPools(int) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- removeConfigurationListener(String, ConfigurationListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Remove a listener that gets called everytime the configuration changes.
- removeConnectionListener(String, ConnectionListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Remove a listener that monitors each time a connection is made or destroyed.
- removeConnectionPool(String, int) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Remove a connection pool.
- removeConnectionPool(String) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- removeListener(Object) - Method in class org.logicalcobwebs.proxool.util.AbstractListenerContainer
-
- removeListener(Object) - Method in interface org.logicalcobwebs.proxool.util.ListenerContainerIF
-
Remove a listener from this container.
- removeNotificationListener(NotificationListener) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- removeProxoolListener(ProxoolListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Remove a registered ProxoolListenerIF
.
- removeStateListener(String, StateListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
Remove a listener that monitors the change of state of the pool (quiet, busy, overloaded, or down)
- reset() - Method in class org.logicalcobwebs.concurrent.FJTask
-
Clear the termination status of this task.
- reset(Connection, String) - Method in class org.logicalcobwebs.proxool.ConnectionResetter
-
Reset this connection to its default values.
- RESET_FAIL - Static variable in interface org.logicalcobwebs.proxool.ConnectionListenerIF
-
We are killing a connection because it couldn't be
reset
after it was returned to the pool and we don't want to give it out again in an unknown state.
- ResourceNamesIF - Interface in org.logicalcobwebs.proxool.resources
-
Constants for Proxool resource names.
- retainAll(Collection) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Remove from this collection all of its elements except those that are
contained in the specified collection.
- ROLE - Static variable in class org.logicalcobwebs.proxool.configuration.AvalonConfigurator
-
Avalon ROLE id for this component.
- run() - Method in class org.logicalcobwebs.concurrent.FJTask.Par
-
- run() - Method in class org.logicalcobwebs.concurrent.FJTask.Par2
-
- run() - Method in class org.logicalcobwebs.concurrent.FJTask.Seq
-
- run() - Method in class org.logicalcobwebs.concurrent.FJTask.Seq2
-
- run() - Method in class org.logicalcobwebs.concurrent.FJTask.Wrap
-
- run() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Main runloop
- run() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
-
- run() - Method in class org.logicalcobwebs.proxool.HouseKeeperThread
-
- run() - Method in class org.logicalcobwebs.proxool.PrototyperThread
-
- runnable - Variable in class org.logicalcobwebs.concurrent.FJTask.Wrap
-
- runPriority - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Priority to use while running tasks
- runs - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Total number of tasks run
- scan(FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Do all but the pop() part of yield or join, by
traversing all DEQs in our group looking for a task to
steal.
- scanPriority - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Priority to use while scanning for work
- scans - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Total number of queues scanned for work
- scanWhileIdling() - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Same as scan, but called when current thread is idling.
- seq(FJTask[]) - Static method in class org.logicalcobwebs.concurrent.FJTask
-
Construct and return a FJTask object that, when executed, will
invoke the tasks in the tasks array in array order
- seq(FJTask, FJTask) - Static method in class org.logicalcobwebs.concurrent.FJTask
-
Construct and return a FJTask object that, when executed, will
invoke task1 and task2, in order
- ServletConfigurator - Class in org.logicalcobwebs.proxool.configuration
-
Allows you to configure Proxool using a servlet.
- ServletConfigurator() - Constructor for class org.logicalcobwebs.proxool.configuration.ServletConfigurator
-
- set(int) - Static method in class org.logicalcobwebs.concurrent.DefaultChannelCapacity
-
Set the default capacity used in
default (no-argument) constructor for BoundedChannels
that otherwise require a capacity argument.
- set(Object) - Method in class org.logicalcobwebs.concurrent.FutureResult
-
Set the reference, and signal that it is ready.
- 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.
- setActive(FJTaskRunner) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Set active status of thread t to true, and notify others
that might be waiting for work.
- setAlias(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setAttribute(Attribute) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- setAttributes(AttributeList) - Method in class org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBean
-
- setBirthTime(long) - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- setConfigurationListener(String, ConfigurationListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- setConnectionListener(String, ConnectionListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- setDelegateProperties(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
Set any property that should be handed to the delegate driver.
- setDone() - Method in class org.logicalcobwebs.concurrent.FJTask
-
Indicate termination.
- setDriver(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setDriverUrl(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setException(Throwable) - Method in class org.logicalcobwebs.concurrent.FutureResult
-
Set the exception field, also setting ready status.
- setFast(boolean) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Sets whether this list will operate in fast mode.
- setFatalSqlExceptionsAsString(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setFatalSqlExceptionWrapperClass(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setHouseKeepingSleepTime(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setHouseKeepingTestSql(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setId(long) - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- setInactive(FJTaskRunner) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Set active status of thread t to false.
- setJmx(boolean) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setJmxAgentId(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setLoginTimeout(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setLogWriter(PrintWriter) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setMaximumActiveTime(long) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setMaximumConnectionCount(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setMaximumConnectionLifetime(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setMinimumConnectionCount(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setNeedToReset(boolean) - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
The subclass should call this to indicate that a change has been made to
the connection that might mean it needs to be reset (like setting autoCommit
to false or something).
- setOverloadWithoutRefusalLifetime(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setPassword(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setPrototypeCount(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setRecentlyStartedThreshold(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setRequester(String) - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- setRequester(String) - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
- setRunPriorities(int) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Set the priority to use while a FJTaskRunner is
actively running tasks.
- setRunPriority(int) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Set the priority to use while running tasks.
- setScanPriorities(int) - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Set the priority to use while a FJTaskRunner is
polling for new tasks to perform.
- setScanPriority(int) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Set the priority to use while scanning.
- setShutdownHook(Thread) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- setSimultaneousBuildThrottle(int) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setStateListener(String, StateListenerIF) - Static method in class org.logicalcobwebs.proxool.ProxoolFacade
-
- setStatistics(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setStatisticsLogLevel(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setStatus(int) - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- setStatus(int, int) - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- setStatus(int, int) - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
Changes the status and lets the ConnectionPool know so that it
can keep count of how many connections are at each status.
- setStatus(int) - Method in interface org.logicalcobwebs.proxool.ProxyConnectionIF
-
Forces the new status regardless of the old state
- setter(Callable) - Method in class org.logicalcobwebs.concurrent.FutureResult
-
Return a Runnable object that, when run, will set the result value.
- setTerminated() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
-
- setTestAfterUse(boolean) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setTestBeforeUse(boolean) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setTimeLastStartActive(long) - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- setTimeLastStopActive(long) - Method in class org.logicalcobwebs.proxool.ProxyConnection
-
- setTrace(boolean) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setTriggerResetException(boolean) - Static method in class org.logicalcobwebs.proxool.ConnectionResetter
-
Called by a unit test.
- setUser(String) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- setVerbose(boolean) - Method in class org.logicalcobwebs.proxool.ProxoolDataSource
-
- SHUTDOWN - Static variable in interface 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.
- signalNewTask() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Start or wake up any threads waiting for work
- SIMULTANEOUS_BUILD_THROTTLE - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- SIMULTANEOUS_BUILD_THROTTLE_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- size() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Return the number of FJTaskRunner threads in this group
- size() - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Return the number of elements in this list.
- slowCoInvoke(FJTask, FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Backup to handle noninlinable cases of coInvoke
- slowCoInvoke(FJTask[]) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Backup to handle atypical or noninlinable cases of coInvoke
- slowPush(FJTask) - Method in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Handle slow case for push
- SnapshotIF - Interface in org.logicalcobwebs.proxool.admin
-
Provides a snapshot of a pool
- snd - Variable in class org.logicalcobwebs.concurrent.FJTask.Par2
-
- snd - Variable in class org.logicalcobwebs.concurrent.FJTask.Seq2
-
- start() - Method in class org.logicalcobwebs.concurrent.FJTask
-
Execute this task.
- startElement(String, String, String, Attributes) - Method in class org.logicalcobwebs.proxool.configuration.XMLConfigurator
-
- startRead() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
- startReadFromNewReader() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
- startReadFromWaitingReader() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
- startWrite() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
- startWriteFromNewWriter() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
- startWriteFromWaitingWriter() - Method in class org.logicalcobwebs.concurrent.WriterPreferenceReadWriteLock
-
- STATE_BUSY - Static variable in interface org.logicalcobwebs.proxool.StateListenerIF
-
- STATE_DOWN - Static variable in interface org.logicalcobwebs.proxool.StateListenerIF
-
- STATE_OVERLOADED - Static variable in interface org.logicalcobwebs.proxool.StateListenerIF
-
- STATE_QUIET - Static variable in interface org.logicalcobwebs.proxool.StateListenerIF
-
- StateListenerIF - Interface in org.logicalcobwebs.proxool
-
Monitors the state of the pool so you can see whether it is
quiet, busy, overloaded, or down.
- statistics(String, StatisticsIF) - Method in class org.logicalcobwebs.proxool.admin.CompositeStatisticsListener
-
- statistics(String, StatisticsIF) - Method in interface org.logicalcobwebs.proxool.admin.StatisticsListenerIF
-
A new set of statistics have just been produced
- statistics(String, StatisticsIF) - Method in class org.logicalcobwebs.proxool.admin.StatisticsLogger
-
- STATISTICS - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- STATISTICS_LOG_LEVEL - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- STATISTICS_LOG_LEVEL_DEBUG - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- STATISTICS_LOG_LEVEL_INFO - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- STATISTICS_LOG_LEVEL_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- STATISTICS_LOG_LEVEL_TRACE - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- STATISTICS_PROPERTY - Static variable in interface org.logicalcobwebs.proxool.ProxoolConstants
-
- StatisticsIF - Interface in org.logicalcobwebs.proxool.admin
-
Provides statistical performance information for a period ot
time.
- StatisticsListenerIF - Interface in org.logicalcobwebs.proxool.admin
-
- StatisticsLogger - Class in org.logicalcobwebs.proxool.admin
-
Listens to statistics and logs them
- StatisticsLogger(Log, String) - Constructor for class org.logicalcobwebs.proxool.admin.StatisticsLogger
-
- stats() - Method in class org.logicalcobwebs.concurrent.FJTaskRunnerGroup
-
Prints various snapshot statistics to System.out.
- STATUS_ACTIVE - Static variable in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The connection is in use
- STATUS_AVAILABLE - Static variable in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The connection is available for use
- STATUS_NULL - Static variable in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
This is the start and end state of every connection
- STATUS_OFFLINE - Static variable in interface org.logicalcobwebs.proxool.ConnectionInfoIF
-
The connection is in use by the house keeping thread
- steals - Variable in class org.logicalcobwebs.concurrent.FJTaskRunner
-
Total number of tasks obtained via scan
- subList(int, int) - Method in class org.logicalcobwebs.proxool.util.FastArrayList
-
Return a view of the portion of this list between fromIndex
(inclusive) and toIndex (exclusive).
- subtract(int) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
-
Subtract amount from value (i.e., set value -= amount)
- swap(SynchronizedInt) - Method in class org.logicalcobwebs.concurrent.SynchronizedInt
-
Atomically swap values with another SynchronizedInt.
- sweep() - Method in class org.logicalcobwebs.proxool.Prototyper
-
Trigger prototyping immediately
- sweepNow(String) - Static method in class org.logicalcobwebs.proxool.HouseKeeperController
-
- sweepStarted() - Static method in class org.logicalcobwebs.proxool.PrototyperController
-
- Sync - Interface in org.logicalcobwebs.concurrent
-
Main interface for locks, gates, and conditions.
- SynchronizedInt - Class in org.logicalcobwebs.concurrent
-
A class useful for offloading synch for int instance variables.
- SynchronizedInt(int) - Constructor for class org.logicalcobwebs.concurrent.SynchronizedInt
-
Make a new SynchronizedInt with the given initial value,
and using its own internal lock.
- SynchronizedInt(int, Object) - Constructor for class org.logicalcobwebs.concurrent.SynchronizedInt
-
Make a new SynchronizedInt with the given initial value,
and using the supplied lock.
- SynchronizedVariable - Class in org.logicalcobwebs.concurrent
-
Base class for simple, small classes
maintaining single values that are always accessed
and updated under synchronization.
- SynchronizedVariable(Object) - Constructor for class org.logicalcobwebs.concurrent.SynchronizedVariable
-
Create a SynchronizedVariable using the supplied lock
- SynchronizedVariable() - Constructor for class org.logicalcobwebs.concurrent.SynchronizedVariable
-
Create a SynchronizedVariable using itself as the lock