|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
ListenerContainerIF
that uses a reads/write lock to handle concurrency in a safe and
fast way.put
operations may block when the
capacity is reached.Prototyper.cancel
will set this to true and stop all
current prototyping immediately
acquire
a write lock
before calling this method
check
.
FastArrayList
instance.
w.fork(); invoke(v); w.join();
Script
.before
and just
after
a command
is executed.ConnectionInfo.getId()
ProxyConnection.getId()
ConfigurationListenerIF
that keeps a list of ConfigurationListenerIF
s
and notifies them in a thread safe manner.ConnectionListenerIF
that keeps a list of ConnectionListenerIF
s
and notifies them in a thread safe manner.ProxoolListenerIF
that keeps a list of ProxoolListenerIF
s
and notifies them in a thread safe manner.StateListenerIF
that keeps a list of StateListenerIF
s
and notifies them in a thread safe manner.StatisticsListenerIF
that keeps a list of StatisticsListenerIF
s
and notifies them in a thread safe manner.definition
.ConfigurationListenerIF
with the ProxoolFacade
works.XMLConfigurator
.
snapshot
tab then
this points to the ID
we are
getting detailed information for.
ProxoolFacade.getConnectionInfos(java.lang.String)
ConnectionListenerIF
with the ProxoolFacade
works.ConnectionPoolMBean
.ConnectionPool
constructor
.
ConnectionResetter
works.true
if this list contains the specified element.
true
if this list contains all of the elements
in the specified Collection.
verbose
instead.
ConnectionPoolDefinitionIF.DEFAULT_SIMULTANEOUS_BUILD_THROTTLE
instead
ConnectionPoolMBean.NOTIFICATION_TYPE_DEFINITION_UPDATED
event.
AvalonConfigurator.CLOSE_ON_DISPOSE_ATTRIBUTE
is set: Close all connection pools that this configurator has configured.
definition
#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
snapshot
of the pool.
more
detailed snapshot
then #doSnapshot(javax.servlet.ServletOutputStream, org.logicalcobwebs.proxool.ConnectionPoolDefinitionIF, String, String, String)
calls this too
ProxoolDriver
disabling
it.
ArrayList
instance, if
necessary, to ensure that it can hold at least the number of elements
specified by the minimum capacity argument.
TestHelper.buildCompleteAlternativeProperties()
.
java.util.ArrayList
designed
to operate in a multithreaded environment where the large majority of
method calls are read-only, instead of structural changes.FATAL_SQL_EXCEPTION
has been detected.
ConnectionPoolDefinitionIF.FATAL_SQL_EXCEPTIONS_DELIMITER
ConnectionPoolDefinitionIF.FATAL_SQL_EXCEPTIONS_DELIMITER
new Par
, when executed,
runs the tasks provided in the constructor in parallel using
coInvoke(tasks).new Par(task1, task2)
, when executed,
runs task1 and task2 in parallel using coInvoke(task1, task2).new Seq
, when executed,
invokes each task provided in the constructor, in order.new Seq2(task1, task2)
, when executed,
invokes task1 and then task2, in order.acquire
a read lock if you want this to be accurate (but that might have
an impact on the performance of your pool).
acquire
a read lock if you want this to be accurate (but that might have
an impact on the performance of your pool).
ConnectionInfoIF.getBirthTime()
but in Date format
FatalSQLException.getOriginalSQLException()
null
if the
cause is nonexistent or unknown.
ConnectionAdapterIF.setup(java.lang.String, java.lang.String, java.util.Properties)
snapshot
instead.
ProxoolFacade.getSnapshot(java.lang.String, boolean)
ProxoolFacade.getSnapshot(java.lang.String, boolean)
ConnectionPoolDefinition.isVerbose()
instead
ConnectionPoolDefinitionIF.isVerbose()
instead
ProxyConnection
.
MBeanServerFactory.findMBeanServer(String agentId)
) to register the pool to.
ConnectionInfoIF.getSqlCalls()
definition
.
ConnectionPoolDefinition.getSimultaneousBuildThrottle()
instead
ConnectionPoolDefinitionIF.getSimultaneousBuildThrottle()
instead
ConnectionPoolDefinition.getAlias()
ConnectionPoolDefinitionIF.getAlias()
instead.
acquire
a read lock if you want this to be accurate (but that might have
an impact on the performance of your pool).
ConnectionPoolDefinition.getDelegateProperties()
instead
ConnectionPoolDefinitionIF.getDelegateProperties()
instead
marked
check
getSnapshot
using false for the detail parameter.
ProxyStatement
.
check
WrappedConnection
and then proxies it as a
simple Connection
.
sweep
InjectableInterfaceTest
InjectableInterfaceTest
InjectableInterfaceTest
equals()
method, and return
the corresponding index, or -1 if the object is not found.
Initialises
the ConnectionResetter.
invoke
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
.
listener
for connections
redefining
the pool using
these parameters would not change the definition.
script
running.
script
running.
ShutdownHook
should do anything.
ConnectionPoolMBean
to.
ProxoolConstants.JMX_AGENT_ID
.
ProxoolConstants.JMX
.
alternative
to provide better auditing in log
alternative
to provide better auditing in log
ProxoolFacade.killAllConnections(java.lang.String, boolean)
but defaults to merciful.
equals()
method, and return
the corresponding index, or -1 if the object is not found.
AbstractListenerContainer
.org.apache.commons.logging.Log
.MAXIMUM_ACTIVE_TIME
has been exceeded.
MAXIMUM_CONNECTION_LIFETIME
has been exceeded.
ProxoolConstants.SIMULTANEOUS_BUILD_THROTTLE
instead
ProxoolConstants.SIMULTANEOUS_BUILD_THROTTLE_PROPERTY
instead
ConnectionPoolMBean
when JMX is configured for multiple agents.EnhancerTest
EnhancerTest
EnhancerTest
AdminServlet.OUTPUT_FULL
(default) or AdminServlet.OUTPUT_SIMPLE
InvokerFacade.getConcreteMethod(java.lang.Class, java.lang.reflect.Method)
.
MethodMapper.getConcreteMethod(java.lang.reflect.Method)
, use this one instead.
SimpoolAdapter
.ConnectionPoolDefinition
recognises properties
properlyprototypers
sweep
.ScriptFacade
null
as its detail message.
Driver
implementation
of java.sql.Driver.ProxoolDataSource
with the given alias
and bind it to JNDI using the given jndi properties.
ConnectionPoolMBean
to the given agents.
shutdown()
instead.
ProxoolFacade.removeConnectionPool(java.lang.String, int)
but uses no delay.
ProxoolListenerIF
.
onDeath
event,
closing it (for real) and then removing it from the list.
reset
after it was returned to the pool and we don't want to give it out again in an unknown state.
Resets
a Connection to its
original state.
commands
to run.Script
from XML sourcescript
.ProxoolFacade.addConfigurationListener(String, ConfigurationListenerIF)
instead.
ConnectionPool.addConnectionListener(ConnectionListenerIF)
instead.
ProxoolFacade.addConnectionListener(String, ConnectionListenerIF)
instead.
ConnectionPoolDefinition.setAnyProperty(java.lang.String, java.lang.String, boolean)
to avoid overly long method.
ConnectionPoolDefinition.setAnyProperty(java.lang.String, java.lang.String, boolean)
to avoid overly long method
ConnectionPoolDefinition.setAnyProperty(java.lang.String, java.lang.String, boolean)
to avoid overly long method
ConnectionPoolDefinition.setAnyProperty(java.lang.String, java.lang.String, boolean)
to avoid overly long method
ConnectionPoolDefinition.setSimultaneousBuildThrottle(int)
instead
ShutdownHook
ProxoolFacade
will know to disable it when it is ProxoolFacade.shutdown()
.
ConnectionPool.addStateListener(StateListenerIF)
instead.
ProxoolFacade.addStateListener(String, StateListenerIF)
instead.
AbstractProxoolTest.setUp()
AbstractProxoolTest.setUp()
Runtime
as a
shutdownHook.
ConnectionPool.shutdown(int, java.lang.String)
.
SnapshotIF
ConfigurationListenerIF
with the ProxoolFacade
works.statistics
as they are produced.StatisticsListenerIF
StatisticsIF
AdminServlet.TAB_DEFINITION
(default)
AdminServlet.TAB_SNAPSHOT
AdminServlet.TAB_STATISTICS
AbstractProxoolTest.tearDown()
AbstractProxoolTest.tearDown()
ProxoolFacade.getAlias(java.sql.Connection)
returns
sensible values
ConnectionListenerIF.onFail(java.lang.String, java.lang.Exception)
is correct.
ProxoolFacade.getId(java.sql.Connection)
returns
sensible values
false
when trying to removed an unregistered listener.
ArrayList
instance to be the
list's current size.
ConnectionPoolMBean
from the given agents.
validated
.
ProxyConnection
.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |