Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

glassfish:jdbcra:statementcache:statementCacheHitEvent

SQL statement cache hit event

Synopsis

glassfish:jdbcra:statementcache:statementCacheHitEvent(
java.lang.String poolName,
java.lang.String applicationName,
java.lang.String moduleName)

Description

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.

Parameters

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.