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 voidconnectionAcquiredEvent(String poolName, String appName)Emits probe event/notification that a connection is acquired by application for the given jdbc connection poolpoolNamebyappNamevoidconnectionReleasedEvent(String poolName, String appName)Emits probe event/notification that a connection is released for the given jdbc connection poolpoolNameby theappNamevoidconnectionUsedEvent(String poolName, String appName)Emits probe event/notification that the given jdbc connection poolpoolNamefor theappNamehas got an increment connections used event.voiddecrementConnectionUsedEvent(String poolName, String appName)Emits probe event/notification that the given jdbc connection poolpoolNamefor theappNamehas 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 poolpoolNamefor theappNamehas got a decrement connections used event.- Overrides:
decrementConnectionUsedEventin 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 poolpoolNamefor theappNamehas got an increment connections used event.- Overrides:
connectionUsedEventin 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 poolpoolNamebyappName- Overrides:
connectionAcquiredEventin 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 poolpoolNameby theappName- Overrides:
connectionReleasedEventin classConnectionPoolAppProbeProvider- Parameters:
poolName-appName-
-
-