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 Details

    • JdbcConnPoolAppProbeProvider

      public JdbcConnPoolAppProbeProvider()
  • Method Details

    • decrementConnectionUsedEvent

      public 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.
      Overrides:
      decrementConnectionUsedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolAppProbeProvider
      Parameters:
      poolName - for which decrement numConnUsed is got
      appName - for which decrement numConnUsed is got
    • connectionUsedEvent

      public 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.
      Overrides:
      connectionUsedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolAppProbeProvider
      Parameters:
      poolName - for which increment numConnUsed is got
      appName - 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 pool poolName by appName
      Overrides:
      connectionAcquiredEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolAppProbeProvider
      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 pool poolName by the appName
      Overrides:
      connectionReleasedEvent in class com.sun.enterprise.resource.pool.monitor.ConnectionPoolAppProbeProvider
      Parameters:
      poolName -
      appName -