Class ConnectorConnPoolAppProbeProvider
- java.lang.Object
-
- com.sun.enterprise.resource.pool.monitor.ConnectionPoolAppProbeProvider
-
- com.sun.enterprise.resource.pool.monitor.ConnectorConnPoolAppProbeProvider
-
public class ConnectorConnPoolAppProbeProvider extends ConnectionPoolAppProbeProvider
Probe provider interface for Connector connection pool related events to provide information related to the various objects on connector connection pool monitoring grouped by applications.- Author:
- Shalini M
-
-
Constructor Summary
Constructors Constructor Description ConnectorConnPoolAppProbeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnectionAcquiredEvent(String poolName, String appName)Emits probe event/notification that a connection is acquired by application for the given jca connection poolpoolNameby theappNamevoidconnectionReleasedEvent(String poolName, String appName)Emits probe event/notification that a connection is released for the given jca connection poolpoolNameby theappNamevoidconnectionUsedEvent(String poolName, String appName)Emits probe event/notification that the given connector connection poolpoolNamefor theappNamehas got an increment connections used event.voiddecrementConnectionUsedEvent(String poolName, String appName)Emits probe event/notification that the given connector connection poolpoolNamefor theappNamehas got a decrement connections used event.
-
-
-
Method Detail
-
decrementConnectionUsedEvent
public void decrementConnectionUsedEvent(String poolName, String appName)
Emits probe event/notification that the given connector connection poolpoolNamefor theappNamehas got a decrement connections used event.- Overrides:
decrementConnectionUsedEventin classConnectionPoolAppProbeProvider- Parameters:
poolName- for which decrement numConnUsed is gotappName- for which decrement numConnUsed is got
-
connectionUsedEvent
public void connectionUsedEvent(String poolName, String appName)
Emits probe event/notification that the given connector connection poolpoolNamefor theappNamehas got an increment connections used event.- Overrides:
connectionUsedEventin classConnectionPoolAppProbeProvider- Parameters:
poolName- for which increment numConnUsed is gotappName- for which increment numConnUsed is got
-
connectionAcquiredEvent
public void connectionAcquiredEvent(String poolName, String appName)
Emits probe event/notification that a connection is acquired by application for the given jca connection poolpoolNameby theappName- Overrides:
connectionAcquiredEventin classConnectionPoolAppProbeProvider- Parameters:
poolName-appName-
-
connectionReleasedEvent
public void connectionReleasedEvent(String poolName, String appName)
Emits probe event/notification that a connection is released for the given jca connection poolpoolNameby theappName- Overrides:
connectionReleasedEventin classConnectionPoolAppProbeProvider- Parameters:
poolName-appName-
-
-