Package org.glassfish.jdbc.pool.monitor
Class JdbcConnPoolAppProbeProvider
- java.lang.Object
-
- com.sun.enterprise.resource.pool.monitor.ConnectionPoolAppProbeProvider
-
- org.glassfish.jdbc.pool.monitor.JdbcConnPoolAppProbeProvider
-
public class JdbcConnPoolAppProbeProvider extends ConnectionPoolAppProbeProvider
Probe provider interface for JDBC connection pool related events to provide information related to the various objects on jdbc pool monitoring grouped by applications.- Author:
- Shalini M
-
-
Constructor Summary
Constructors Constructor Description JdbcConnPoolAppProbeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connectionAcquiredEvent(String poolName, String appName)
Emits probe event/notification that a connection is acquired by application for the given jdbc connection poolpoolName
byappName
void
connectionReleasedEvent(String poolName, String appName)
Emits probe event/notification that a connection is released for the given jdbc connection poolpoolName
by theappName
void
connectionUsedEvent(String poolName, String appName)
Emits probe event/notification that the given jdbc connection poolpoolName
for theappName
has got an increment connections used event.void
decrementConnectionUsedEvent(String poolName, String appName)
Emits probe event/notification that the given jdbc connection poolpoolName
for theappName
has got a decrement connections used event.
-
-
-
Method Detail
-
decrementConnectionUsedEvent
public void decrementConnectionUsedEvent(String poolName, String appName)
Emits probe event/notification that the given jdbc connection poolpoolName
for theappName
has got a decrement connections used event.- Overrides:
decrementConnectionUsedEvent
in classConnectionPoolAppProbeProvider
- Parameters:
poolName
- for which decrement numConnUsed is gotappName
- for which decrement numConnUsed is got
-
connectionUsedEvent
public void connectionUsedEvent(String poolName, String appName)
Emits probe event/notification that the given jdbc connection poolpoolName
for theappName
has got an increment connections used event.- Overrides:
connectionUsedEvent
in classConnectionPoolAppProbeProvider
- Parameters:
poolName
- for which increment numConnUsed is gotappName
- for which increment numConnUsed is got
-
connectionAcquiredEvent
public void connectionAcquiredEvent(String poolName, String appName)
Emits probe event/notification that a connection is acquired by application for the given jdbc connection poolpoolName
byappName
- Overrides:
connectionAcquiredEvent
in classConnectionPoolAppProbeProvider
- Parameters:
poolName
-appName
-
-
connectionReleasedEvent
public void connectionReleasedEvent(String poolName, String appName)
Emits probe event/notification that a connection is released for the given jdbc connection poolpoolName
by theappName
- Overrides:
connectionReleasedEvent
in classConnectionPoolAppProbeProvider
- Parameters:
poolName
-appName
-
-
-