glassfish:jdbc:connection-pool:connectionRequestServedEvent

connection request served event

Synopsis

glassfish:jdbc:connection-pool:connectionRequestServedEvent(
java.lang.String poolName,
java.lang.String applicationName,
java.lang.String moduleName,
long timeTakenInMillis)

Description

This event is sent when a request for a connection from the JDBC connection pool is served. The timeTakenInMillis parameter indicates the time required in milliseconds to service the request.

Use this event to obtain the following information:

  • The wait time of the last request that was serviced by the JDBC connection pool

  • The average wait time for successful requests for connections from the JDBC connection pool

Parameters

poolName

The name of the JDBC connection pool from which the connection was served.

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.

timeTakenInMillis

The time required in milliseconds to service the last request.