public interface SQLConnectionInterceptor extends SQLInterceptor
| Modifier and Type | Method and Description |
|---|---|
void |
onConnectionReplaced(Connection connection,
ConnectionPoolState connectionPoolState)
Called when a connection is returned to the underlying pool
|
void |
onConnectionTaken(Connection connection,
ConnectionPoolState connectionPoolState)
Called when a connection is taken from the underlying pool
|
afterSuccessfulExecution, beforeExecution, onExceptionvoid onConnectionTaken(Connection connection, ConnectionPoolState connectionPoolState)
connection - the connection that has been borrowedconnectionPoolState - info about the connection pool in at the time the connection was takenvoid onConnectionReplaced(Connection connection, ConnectionPoolState connectionPoolState)
connection - the connection that has been returnedconnectionPoolState - info about the connection pool in at the time the connection was takenCopyright © 2015 Atlassian. All rights reserved.