glassfish:jdbc:connection-pool:connectionUsedEvent

connection used event

Synopsis

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

Description

This event is sent whenever a connection in the JDBC connection pool is used.

Use this event to get the total number of connections that are currently being used.

Parameters

poolName

The name of the JDBC connection pool that contains the connection that is being used.

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.