|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 ProxoolException 的软件包 | |
|---|---|
| org.logicalcobwebs.proxool | A Java SQL Driver that provides a connection pool wrapper around another Driver of your choice. |
| org.logicalcobwebs.proxool.admin | Provides statistical information on each pool. |
| 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 | Contains a helper that can create a Proxool datasource and bind it to JNDI. |
| org.logicalcobwebs.proxool.configuration | Helpers for configuring Proxool from various sources. |
| org.logicalcobwebs.proxool.proxy | |
| org.logicalcobwebs.proxool 中 ProxoolException 的使用 |
|---|
| 抛出 ProxoolException 的 org.logicalcobwebs.proxool 中的方法 | |
|---|---|
static void |
ProxoolFacade.addConfigurationListener(String alias,
ConfigurationListenerIF configurationListener)
Adds a listener that gets called everytime the configuration changes. |
static void |
ProxoolFacade.addConnectionListener(String alias,
ConnectionListenerIF connectionListener)
Add a listener that monitors each time a connection is made or destroyed. |
static void |
ProxoolFacade.addStateListener(String alias,
StateListenerIF stateListener)
Add a listener that monitors the change of state of the pool (quiet, busy, overloaded, or down) |
static void |
ProxoolFacade.addStatisticsListener(String alias,
StatisticsListenerIF statisticsListener)
Add a listener that receives statistics as they are produced |
protected ProxyConnection |
Prototyper.buildConnection(int status,
String creator)
Build a new connection |
protected static void |
HouseKeeperController.cancel(String alias)
cancel a house keeper for a pool. |
static String |
ProxoolFacade.getAlias(Connection connection)
Get the alias for the connection pool that served a connection |
protected static String |
ProxoolFacade.getAlias(String url)
Extracts the pool alias from the url: proxool.alias:driver:url -> alias proxool.alias -> alias |
static Collection |
ProxoolFacade.getConnectionInfos(String alias)
已过时。 use snapshot instead. |
static ConnectionPoolDefinitionIF |
ProxoolFacade.getConnectionPoolDefinition(String alias)
Get the definition of a pool. |
static ConnectionPoolStatisticsIF |
ProxoolFacade.getConnectionPoolStatistics(String alias)
已过时。 use ProxoolFacade.getSnapshot(java.lang.String, boolean) |
static String |
ProxoolFacade.getConnectionPoolStatisticsDump(String alias)
已过时。 use ProxoolFacade.getSnapshot(java.lang.String, boolean) |
static Connection |
ProxoolFacade.getDelegateConnection(Connection connection)
已过时。 Just cast the connection that you are given into the driver specific one. |
static Statement |
ProxoolFacade.getDelegateStatement(Statement statement)
已过时。 Just cast the statement that you are given into the driver specific one. |
static long |
ProxoolFacade.getId(Connection connection)
Get the connection ID for a connection |
static SnapshotIF |
ProxoolFacade.getSnapshot(String alias)
Calls getSnapshot
using false for the detail parameter. |
static SnapshotIF |
ProxoolFacade.getSnapshot(String alias,
boolean detail)
Gives a snapshot of what the pool is doing |
static StatisticsIF[] |
ProxoolFacade.getStatistics(String alias)
Get all the lastest performance statistics for this pool |
static StatisticsIF |
ProxoolFacade.getStatistics(String alias,
String token)
Get a particular set of performance statistics for this pool |
static void |
ProxoolFacade.killAllConnections(String alias)
已过时。 use alternative
to provide better auditing in log |
static void |
ProxoolFacade.killAllConnections(String alias,
boolean merciful)
已过时。 use alternative
to provide better auditing in log |
static void |
ProxoolFacade.killAllConnections(String alias,
String reason)
Like ProxoolFacade.killAllConnections(java.lang.String, boolean) but defaults to merciful. |
static void |
ProxoolFacade.killAllConnections(String alias,
String reason,
boolean merciful)
Kill all connections in a pool. |
static boolean |
ProxoolFacade.killConnecton(Connection connection,
boolean merciful)
Kill a single connection |
static boolean |
ProxoolFacade.killConnecton(String alias,
long id,
boolean merciful)
Kill a single connection |
static void |
ProxoolFacade.redefineConnectionPool(String url,
Properties info)
Redefine the behaviour of the pool. |
protected static void |
ProxoolFacade.registerConnectionPool(org.logicalcobwebs.proxool.ConnectionPoolDefinition connectionPoolDefinition)
|
static void |
ProxoolFacade.registerConnectionPool(String url)
With no configurator or properties (using default values) |
static String |
ProxoolFacade.registerConnectionPool(String url,
Properties info)
Build a ConnectionPool based on this definition and then start it. |
protected static String |
ProxoolFacade.registerConnectionPool(String url,
Properties info,
boolean explicitRegister)
Build a ConnectionPool based on this definition and then start it. |
static boolean |
ProxoolFacade.removeConfigurationListener(String alias,
ConfigurationListenerIF configurationListener)
Remove a listener that gets called everytime the configuration changes. |
static boolean |
ProxoolFacade.removeConnectionListener(String alias,
ConnectionListenerIF connectionListener)
Remove a listener that monitors each time a connection is made or destroyed. |
static void |
ProxoolFacade.removeConnectionPool(String alias)
Like ProxoolFacade.removeConnectionPool(java.lang.String, int) but uses no delay. |
static void |
ProxoolFacade.removeConnectionPool(String alias,
int delay)
Remove a connection pool. |
static boolean |
ProxoolFacade.removeStateListener(String alias,
StateListenerIF stateListener)
Remove a listener that monitors the change of state of the pool (quiet, busy, overloaded, or down) |
static void |
ProxoolFacade.setConfigurationListener(String alias,
ConfigurationListenerIF configurationListener)
已过时。 use ProxoolFacade.addConfigurationListener(String, ConfigurationListenerIF) instead. |
static void |
ProxoolFacade.setConnectionListener(String alias,
ConnectionListenerIF connectionListener)
已过时。 use ProxoolFacade.addConnectionListener(String, ConnectionListenerIF) instead. |
static void |
ProxoolFacade.setStateListener(String alias,
StateListenerIF stateListener)
已过时。 use ProxoolFacade.addStateListener(String, StateListenerIF) instead. |
static void |
ProxoolFacade.updateConnectionPool(String url,
Properties info)
Update the behaviour of the pool. |
| org.logicalcobwebs.proxool.admin 中 ProxoolException 的使用 |
|---|
| 抛出 ProxoolException 的 org.logicalcobwebs.proxool.admin 中的构造方法 | |
|---|---|
Admin(ConnectionPoolDefinitionIF definition)
|
|
| org.logicalcobwebs.proxool.admin.jmx 中 ProxoolException 的使用 |
|---|
| 抛出 ProxoolException 的 org.logicalcobwebs.proxool.admin.jmx 中的方法 | |
|---|---|
static void |
ProxoolJMXHelper.registerPool(String alias,
Properties poolPropeties)
Create and register a ConnectionPoolMBean to the given agents. |
| 抛出 ProxoolException 的 org.logicalcobwebs.proxool.admin.jmx 中的构造方法 | |
|---|---|
ConnectionPoolMBean(String alias,
Properties poolProperties)
|
|
| org.logicalcobwebs.proxool.admin.jndi 中 ProxoolException 的使用 |
|---|
| 抛出 ProxoolException 的 org.logicalcobwebs.proxool.admin.jndi 中的方法 | |
|---|---|
static void |
ProxoolJNDIHelper.registerDatasource(String alias,
Properties jndiProperties)
Create a ProxoolDataSource with the given alias
and bind it to JNDI using the given jndi properties. |
| org.logicalcobwebs.proxool.configuration 中 ProxoolException 的使用 |
|---|
| 抛出 ProxoolException 的 org.logicalcobwebs.proxool.configuration 中的方法 | |
|---|---|
static void |
JAXPConfigurator.configure(InputSource inputSource,
boolean validate)
Configure Proxool with xml from the given InputSource. |
static void |
PropertyConfigurator.configure(Properties properties)
Configure proxool with the given properties. |
static void |
JAXPConfigurator.configure(Reader reader,
boolean validate)
Configure Proxool with xml from the given reader. |
static void |
PropertyConfigurator.configure(String filename)
Configure proxool with the given properties file. |
static void |
JAXPConfigurator.configure(String xmlFileName,
boolean validate)
Configure Proxool with xml from the given file. |
| org.logicalcobwebs.proxool.proxy 中 ProxoolException 的使用 |
|---|
| 抛出 ProxoolException 的 org.logicalcobwebs.proxool.proxy 中的方法 | |
|---|---|
static Method |
InvokerFacade.getConcreteMethod(Class concreteClass,
Method injectableMethod)
Returns the method in the concrete class with an indentical signature to that passed |
protected Method |
MethodMapper.getConcreteMethod(Method injectableMethod)
Returns the method in the concrete class with an indentical signature to that passed as a parameter |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||