Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
SQL statement cache hit event
glassfish:jdbcra:statementcache:statementCacheHitEvent( java.lang.String poolName, java.lang.String applicationName, java.lang.String moduleName)
This event is sent whenever an SQL statement to be executed is retrieved from the SQL statement cache, provided that statement caching is enabled; that is, when the statement-cache-size
attribute of the JDBC connection pool has a nonzero value.
Use this event to track the number of times the statement cache is used.
poolName
The name of the JDBC connection pool.
applicationName
The name of the application in which the connection pool is defined. This parameter is applicable only for application-scoped resources.
moduleName
The name of the application module in which the connection pool is defined. This parameter is applicable only for application-scoped resources.