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 com.sun.enterprise.resource.pool.monitor.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 -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionAcquiredEvent(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.
-
Constructor Details
-
JdbcConnPoolAppProbeProvider
public JdbcConnPoolAppProbeProvider()
-
-
Method Details
-
decrementConnectionUsedEvent
Emits probe event/notification that the given jdbc connection poolpoolNamefor theappNamehas got a decrement connections used event.- Overrides:
decrementConnectionUsedEventin classcom.sun.enterprise.resource.pool.monitor.ConnectionPoolAppProbeProvider- Parameters:
poolName- for which decrement numConnUsed is gotappName- for which decrement numConnUsed is got
-
connectionUsedEvent
Emits probe event/notification that the given jdbc connection poolpoolNamefor theappNamehas got an increment connections used event.- Overrides:
connectionUsedEventin classcom.sun.enterprise.resource.pool.monitor.ConnectionPoolAppProbeProvider- Parameters:
poolName- for which increment numConnUsed is gotappName- for which increment numConnUsed is got
-
connectionAcquiredEvent
Emits probe event/notification that a connection is acquired by application for the given jdbc connection poolpoolNamebyappName- Overrides:
connectionAcquiredEventin classcom.sun.enterprise.resource.pool.monitor.ConnectionPoolAppProbeProvider- Parameters:
poolName-appName-
-
connectionReleasedEvent
Emits probe event/notification that a connection is released for the given jdbc connection poolpoolNameby theappName- Overrides:
connectionReleasedEventin classcom.sun.enterprise.resource.pool.monitor.ConnectionPoolAppProbeProvider- Parameters:
poolName-appName-
-