public abstract class ConnectionPoolProbeProvider extends Object
| Constructor and Description |
|---|
ConnectionPoolProbeProvider() |
| 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 connection pool
poolName |
void |
connectionCreatedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that a new connection is created for the
given connection pool
poolName |
void |
connectionDestroyedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that a connection is destroyed for the
given 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 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 connection pool
poolName |
void |
connectionReleasedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that a connection is released for the given
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 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 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 connection pool
poolName |
void |
connectionsFreedEvent(String poolName,
String appName,
String moduleName,
int count)
Emits probe event/notification that the given connection pool
poolNamehas got a increment connections free event. |
void |
connectionTimedOutEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that a 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 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 connection pool
poolNamehas got a connection validation failed event. |
void |
decrementConnectionUsedEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that the given connection pool
poolNamehas got a decrement connections used event. |
void |
decrementNumConnFreeEvent(String poolName,
String appName,
String moduleName)
Emits probe event/notification that the given 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 connection pool
poolNamehas got a decrement 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.poolName - for which connection validation has failedappName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedincrement - number of times the validation failedpublic void connectionTimedOutEvent(String poolName, String appName, String moduleName)
poolName has got a connection timed out event.poolName - 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.poolName - 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.poolName - for which decrement numConnFree is gotappName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedpublic void incrementNumConnFreeEvent(String poolName, String appName, String moduleName, boolean beingDestroyed, int steadyPoolSize)
poolNamehas got a decrement free connections size event.poolName - for which decrement numConnFree is gotappName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedbeingDestroyed - if the connection is destroyed due to errorsteadyPoolSize - public void decrementConnectionUsedEvent(String poolName, String appName, String moduleName)
poolNamehas got a decrement connections used event.poolName - 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.poolName - 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.poolName - for which increment numConnFree is gotappName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedcount - number of connections freed to poolpublic void connectionRequestServedEvent(String poolName, String appName, String moduleName, long timeTakenInMillis)
timeTakenInMillis for the given connection pool
poolNamepoolName - appName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedtimeTakenInMillis - time taken to serve a connectionpublic void connectionDestroyedEvent(String poolName, String appName, String moduleName)
poolNamepoolName - 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)
poolNamepoolName - 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)
poolNamepoolName - 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)
poolNamepoolName - 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)
public void connectionMatchedEvent(String poolName, String appName, String moduleName)
poolNamepoolName - 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)
poolNamepoolName - 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)
poolNamepoolName - 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)
poolNamepoolName - appName - application-name in which the pool is definedmoduleName - module-name in which the pool is definedCopyright © 2017. All rights reserved.