public class ConnectionPoolAppEmitterImpl extends Object
Constructor and Description |
---|
ConnectionPoolAppEmitterImpl(String poolName,
String appName,
ConnectionPoolAppProbeProvider provider) |
Modifier and Type | Method and 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() |
public ConnectionPoolAppEmitterImpl(String poolName, String appName, ConnectionPoolAppProbeProvider provider)
public String getPoolName()
public String getAppName()
public void connectionUsed()
public void decrementConnectionUsed()
public void connectionAcquired()
public void connectionReleased()
Copyright © 2020. All rights reserved.