Class ConnectionPoolAppEmitterImpl
- java.lang.Object
-
- com.sun.enterprise.resource.pool.monitor.ConnectionPoolAppEmitterImpl
-
public class ConnectionPoolAppEmitterImpl extends Object
Listen to events related to jdbc/connector connection pool monitoring grouped by applications. The methods invoke the probe providers internally to provide the monitoring related information grouped by applications.- Author:
- Shalini M
-
-
Constructor Summary
Constructors Constructor Description ConnectionPoolAppEmitterImpl(String poolName, String appName, ConnectionPoolAppProbeProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connectionAcquired()
Fires probe event that a connection has been acquired by the application for the given connection pool.void
connectionReleased()
Fires probe event that a connection is released for the given connection pool.void
connectionUsed()
Fires probe event related to the fact the given connection pool has got a connection used event.void
decrementConnectionUsed()
Fires probe event related to the fact the given connection pool has got a decrement connection used event.String
getAppName()
String
getPoolName()
-
-
-
Constructor Detail
-
ConnectionPoolAppEmitterImpl
public ConnectionPoolAppEmitterImpl(String poolName, String appName, ConnectionPoolAppProbeProvider provider)
-
-
Method Detail
-
getPoolName
public String getPoolName()
-
getAppName
public String getAppName()
-
connectionUsed
public void connectionUsed()
Fires probe event related to the fact the given connection pool has got a connection used event.
-
decrementConnectionUsed
public void decrementConnectionUsed()
Fires probe event related to the fact the given connection pool has got a decrement connection used event.
-
connectionAcquired
public void connectionAcquired()
Fires probe event that a connection has been acquired by the application for the given connection pool.
-
connectionReleased
public void connectionReleased()
Fires probe event that a connection is released for the given connection pool.
-
-