public class JdbcConnPoolAppProbeProvider extends ConnectionPoolAppProbeProvider
Constructor and Description |
---|
JdbcConnPoolAppProbeProvider() |
Modifier and Type | Method and Description |
---|---|
void |
connectionAcquiredEvent(String poolName,
String appName)
Emits probe event/notification that a connection is acquired by application
for the given jdbc connection pool
poolName by
appName |
void |
connectionReleasedEvent(String poolName,
String appName)
Emits probe event/notification that a connection is released for the given
jdbc connection pool
poolName by the
appName |
void |
connectionUsedEvent(String poolName,
String appName)
Emits probe event/notification that the given jdbc connection pool
poolName for the appName has got an
increment connections used event. |
void |
decrementConnectionUsedEvent(String poolName,
String appName)
Emits probe event/notification that the given jdbc connection pool
poolName for the appName has got a
decrement connections used event. |
public void decrementConnectionUsedEvent(String poolName, String appName)
poolName
for the appName
has got a
decrement connections used event.decrementConnectionUsedEvent
in class ConnectionPoolAppProbeProvider
poolName
- for which decrement numConnUsed is gotappName
- for which decrement numConnUsed is gotpublic void connectionUsedEvent(String poolName, String appName)
poolName
for the appName
has got an
increment connections used event.connectionUsedEvent
in class ConnectionPoolAppProbeProvider
poolName
- for which increment numConnUsed is gotappName
- for which increment numConnUsed is gotpublic void connectionAcquiredEvent(String poolName, String appName)
poolName
by
appName
connectionAcquiredEvent
in class ConnectionPoolAppProbeProvider
poolName
- appName
- public void connectionReleasedEvent(String poolName, String appName)
poolName
by the
appName
connectionReleasedEvent
in class ConnectionPoolAppProbeProvider
poolName
- appName
- Copyright © 2018. All rights reserved.