373/461

## glassfish:jdbc-pool:applications:decrementConnectionUsedEvent

decrease in connections used event

Synopsis

    glassfish:jdbc-pool:applications:decrementConnectionUsedEvent(
    java.lang.String poolName,
    java.lang.String applicationName)

Description

This event is sent whenever an application destroys a connection or releases a connection back to the JDBC connection pool. This event indicates that the number of connections in use has decreased by 1.

Use this event to calculate the total number of connections that are currently being used by an application.

Parameters

`poolName`

  The name of the JDBC connection pool that contains the destroyed or released connection.

`applicationName`

  The name of the application in which the connection pool is defined. This parameter is applicable only for application-scoped resources.