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 void
connectionAcquiredEvent(String poolName, String appName)
Emits probe event/notification that a connection is acquired by application for the given jca connection poolpoolName
by theappName
void
connectionReleasedEvent(String poolName, String appName)
Emits probe event/notification that a connection is released for the given jca connection poolpoolName
by theappName
void
connectionUsedEvent(String poolName, String appName)
Emits probe event/notification that the given connector connection poolpoolName
for theappName
has got an increment connections used event.void
decrementConnectionUsedEvent(String poolName, String appName)
Emits probe event/notification that the given connector connection poolpoolName
for theappName
has 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 poolpoolName
for theappName
has got a decrement connections used event.- Overrides:
decrementConnectionUsedEvent
in 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 poolpoolName
for theappName
has got an increment connections used event.- Overrides:
connectionUsedEvent
in 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 poolpoolName
by theappName
- Overrides:
connectionAcquiredEvent
in 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 poolpoolName
by theappName
- Overrides:
connectionReleasedEvent
in classConnectionPoolAppProbeProvider
- Parameters:
poolName
-appName
-
-
-