Class StatementCacheProbeProvider


  • public class StatementCacheProbeProvider
    extends Object
    Provider interface for JDBC RA related probes.
    Author:
    Shalini M
    • Constructor Detail

      • StatementCacheProbeProvider

        public StatementCacheProbeProvider()
    • Method Detail

      • statementCacheHitEvent

        public void statementCacheHitEvent​(String poolName,
                                           String appName,
                                           String moduleName)
        Emits probe event/notification that the given connection pool poolNamehas got a statement cache hit event
        Parameters:
        poolName - for which statement cache hit occurred
        increment - number of times the statement cache was hit
      • statementCacheMissEvent

        public void statementCacheMissEvent​(String poolName,
                                            String appName,
                                            String moduleName)
        Emits probe event/notification that the given connection pool poolNamehas got a statement cache miss event
        Parameters:
        poolName - for which statement cache miss occurred
        increment - number of times the statement cache was missed