339/461

## glassfish:jca:connection-pool:connectionUsedEvent

connection used event

Synopsis

    glassfish:jca: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 connector 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 connector 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.