public class JdbcConnPoolProbeProvider extends 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 ConnectionPoolProbeProviderpoolName - for which connection validation has failedincrement - number of times the validation failedappName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void connectionTimedOutEvent(String poolName, String appName, String moduleName)
poolName has got a connection timed out event.connectionTimedOutEvent in class ConnectionPoolProbeProviderpoolName - that has got a connection timed-out eventappName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void potentialConnLeakEvent(String poolName, String appName, String moduleName)
poolName is having a potentialConnLeak event.potentialConnLeakEvent in class ConnectionPoolProbeProviderpoolName - appName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void decrementNumConnFreeEvent(String poolName, String appName, String moduleName)
poolNamehas got a decrement free connections size event.decrementNumConnFreeEvent in class 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 ConnectionPoolProbeProviderpoolName - for which increment numConnFree is gotbeingDestroyed - if connection is destroyed due to errorsteadyPoolSize - appName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void decrementConnectionUsedEvent(String poolName, String appName, String moduleName)
poolNamehas got a decrement connections used event.decrementConnectionUsedEvent in class ConnectionPoolProbeProviderpoolName - for which decrement numConnUsed is gotappName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void connectionUsedEvent(String poolName, String appName, String moduleName)
poolNamehas got a increment connections used event.connectionUsedEvent in class ConnectionPoolProbeProviderpoolName - for which increment numConnUsed is gotappName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void connectionsFreedEvent(String poolName, String appName, String moduleName, int count)
poolNamehas got a increment connections free event.connectionsFreedEvent in class ConnectionPoolProbeProviderpoolName - for which increment numConnFree is gotcount - number of connections freed to poolappName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void connectionRequestServedEvent(String poolName, String appName, String moduleName, long timeTakenInMillis)
timeTakenInMillis for the given jdbc connection pool
poolNameconnectionRequestServedEvent in class ConnectionPoolProbeProviderpoolName - timeTakenInMillis - time taken to serve a connectionappName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void connectionDestroyedEvent(String poolName, String appName, String moduleName)
poolNameconnectionDestroyedEvent in class ConnectionPoolProbeProviderpoolName - appName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void connectionAcquiredEvent(String poolName, String appName, String moduleName)
poolNameconnectionAcquiredEvent in class ConnectionPoolProbeProviderpoolName - appName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void connectionReleasedEvent(String poolName, String appName, String moduleName)
poolNameconnectionReleasedEvent in class ConnectionPoolProbeProviderpoolName - appName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void connectionCreatedEvent(String poolName, String appName, String moduleName)
poolNameconnectionCreatedEvent in class ConnectionPoolProbeProviderpoolName - appName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void toString(String poolName, String appName, String moduleName, StringBuffer stackTrace)
toString in class ConnectionPoolProbeProviderpublic void connectionMatchedEvent(String poolName, String appName, String moduleName)
poolNameconnectionMatchedEvent in class ConnectionPoolProbeProviderpoolName - appName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void connectionNotMatchedEvent(String poolName, String appName, String moduleName)
poolNameconnectionNotMatchedEvent in class ConnectionPoolProbeProviderpoolName - appName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void connectionRequestQueuedEvent(String poolName, String appName, String moduleName)
poolNameconnectionRequestQueuedEvent in class ConnectionPoolProbeProviderpoolName - appName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void connectionRequestDequeuedEvent(String poolName, String appName, String moduleName)
poolNameconnectionRequestDequeuedEvent in class ConnectionPoolProbeProviderpoolName - appName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedCopyright © 2017. All rights reserved.