connection used event
glassfish:jdbc:connection-pool:connectionUsedEvent( java.lang.String poolName, java.lang.String applicationName, java.lang.String moduleName)
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.
poolNameThe name of the JDBC connection pool that contains the connection that is being used.
applicationNameThe name of the application in which the connection pool is defined. This parameter is applicable only for application-scoped resources.
moduleNameThe name of the application module in which the connection pool is defined. This parameter is applicable only for application-scoped resources.