Package com.sun.gjc.monitoring
Class StatementCacheProbeProvider
- java.lang.Object
-
- com.sun.gjc.monitoring.StatementCacheProbeProvider
-
public class StatementCacheProbeProvider extends Object
Provider interface for JDBC RA related probes.- Author:
- Shalini M
-
-
Constructor Summary
Constructors Constructor Description StatementCacheProbeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
statementCacheHitEvent(String poolName, String appName, String moduleName)
Emits probe event/notification that the given connection poolpoolName
has got a statement cache hit eventvoid
statementCacheMissEvent(String poolName, String appName, String moduleName)
Emits probe event/notification that the given connection poolpoolName
has got a statement cache miss event
-
-
-
Method Detail
-
statementCacheHitEvent
public void statementCacheHitEvent(String poolName, String appName, String moduleName)
Emits probe event/notification that the given connection poolpoolName
has got a statement cache hit event- Parameters:
poolName
- for which statement cache hit occurredincrement
- 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 poolpoolName
has got a statement cache miss event- Parameters:
poolName
- for which statement cache miss occurredincrement
- number of times the statement cache was missed
-
-