public class JdbcConnPoolProbeProvider
extends com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProvider
| Constructor and Description |
|---|
JdbcConnPoolProbeProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
connectionAcquiredEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that a connection is acquired by application
for the given jdbc connection pool
poolName |
void |
connectionCreatedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that a new connection is created for the
given jdbc connection pool
poolName |
void |
connectionDestroyedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that a connection is destroyed for the
given jdbc connection pool
poolName |
void |
connectionMatchedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that a connection under test matches the
current request for the given jdbc connection pool
poolName |
void |
connectionNotMatchedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that a connection under test does not
match the current request for the given jdbc connection pool
poolName |
void |
connectionReleasedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that a connection is released for the given
jdbc connection pool
poolName |
void |
connectionRequestDequeuedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that the wait queue length has decreased
for the given jdbc connection pool
poolName |
void |
connectionRequestQueuedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that the wait queue length has increased
for the given jdbc connection pool
poolName |
void |
connectionRequestServedEvent(String poolName,
String appName,
String moduleName,
long timeTakenInMillis)
Emits probe event/notification that a connection request is served in the
time
timeTakenInMillis for the given jdbc connection pool
poolName |
void |
connectionsFreedEvent(String poolName,
String appName,
String moduleName,
int count)
Emits probe event/notification that the given jdbc connection pool
poolNamehas got a increment connections free event. |
void |
connectionTimedOutEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that a jdbc connection pool with the given
name
poolName has got a connection timed out event. |
void |
connectionUsedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that the given jdbc connection pool
poolNamehas got a increment connections used event. |
void |
connectionValidationFailedEvent(String poolName,
String appName,
String moduleName,
int increment)
Emits probe event/notification that the given jdbc connection pool
poolNamehas got a connection validation failed event. |
void |
decrementConnectionUsedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that the given jdbc connection pool
poolNamehas got a decrement connections used event. |
void |
decrementNumConnFreeEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that the given jdbc connection pool
poolNamehas got a decrement free connections size event. |
void |
incrementNumConnFreeEvent(String poolName,
String appName,
String moduleName,
boolean beingDestroyed,
int steadyPoolSize)
Emits probe event/notification that the given jdbc connection pool
poolNamehas got a increment free connections size event. |
void |
potentialConnLeakEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that the pool with the given name
poolName is having a potentialConnLeak event. |
void |
toString(String poolName,
String appName,
String moduleName,
StringBuffer stackTrace) |
public void connectionValidationFailedEvent(String poolName, String appName, String moduleName, int increment)
poolNamehas got a connection validation failed event.connectionValidationFailedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - for which connection validation has failedincrement - number of times the validation failedpublic void connectionTimedOutEvent(String poolName, String appName, String moduleName)
poolName has got a connection timed out event.connectionTimedOutEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - that has got a connection timed-out eventpublic void potentialConnLeakEvent(String poolName, String appName, String moduleName)
poolName is having a potentialConnLeak event.potentialConnLeakEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - public void decrementNumConnFreeEvent(String poolName, String appName, String moduleName)
poolNamehas got a decrement free connections size event.decrementNumConnFreeEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - for which decrement numConnFree is gotsteadyPoolSize - public void incrementNumConnFreeEvent(String poolName, String appName, String moduleName, boolean beingDestroyed, int steadyPoolSize)
poolNamehas got a increment free connections size event.incrementNumConnFreeEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - for which increment numConnFree is gotbeingDestroyed - if connection is destroyed due to errorsteadyPoolSize - public void decrementConnectionUsedEvent(String poolName, String appName, String moduleName)
poolNamehas got a decrement connections used event.decrementConnectionUsedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - for which decrement numConnUsed is gotpublic void connectionUsedEvent(String poolName, String appName, String moduleName)
poolNamehas got a increment connections used event.connectionUsedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - for which increment numConnUsed is gotpublic void connectionsFreedEvent(String poolName, String appName, String moduleName, int count)
poolNamehas got a increment connections free event.connectionsFreedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - for which increment numConnFree is gotcount - number of connections freed to poolpublic void connectionRequestServedEvent(String poolName, String appName, String moduleName, long timeTakenInMillis)
timeTakenInMillis for the given jdbc connection pool
poolNameconnectionRequestServedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - timeTakenInMillis - time taken to serve a connectionpublic void connectionDestroyedEvent(String poolName, String appName, String moduleName)
poolNameconnectionDestroyedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - public void connectionAcquiredEvent(String poolName, String appName, String moduleName)
poolNameconnectionAcquiredEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - public void connectionReleasedEvent(String poolName, String appName, String moduleName)
poolNameconnectionReleasedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - public void connectionCreatedEvent(String poolName, String appName, String moduleName)
poolNameconnectionCreatedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - public void toString(String poolName, String appName, String moduleName, StringBuffer stackTrace)
toString in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpublic void connectionMatchedEvent(String poolName, String appName, String moduleName)
poolNameconnectionMatchedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - public void connectionNotMatchedEvent(String poolName, String appName, String moduleName)
poolNameconnectionNotMatchedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - public void connectionRequestQueuedEvent(String poolName, String appName, String moduleName)
poolNameconnectionRequestQueuedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - public void connectionRequestDequeuedEvent(String poolName, String appName, String moduleName)
poolNameconnectionRequestDequeuedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolProbeProviderpoolName - Copyright © 2013. All Rights Reserved.