Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
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.
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.