Class 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 Detail

      • JdbcConnPoolAppProbeProvider

        public JdbcConnPoolAppProbeProvider()
    • Method Detail

      • 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 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 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 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 ConnectionPoolAppProbeProvider
        Parameters:
        poolName -
        appName -