public class InstrumentedSQLInterceptor extends Object implements org.ofbiz.core.entity.jdbc.interceptors.connection.SQLConnectionInterceptor
Constructor and Description |
---|
InstrumentedSQLInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
afterSuccessfulExecution(String sql,
List<String> params,
Statement statement,
ResultSet resultSet,
int i) |
void |
beforeExecution(String sql,
List<String> params,
Statement statement) |
void |
onConnectionReplaced(Connection connection,
org.ofbiz.core.entity.jdbc.interceptors.connection.ConnectionPoolState connectionPoolState) |
void |
onConnectionTaken(Connection connection,
org.ofbiz.core.entity.jdbc.interceptors.connection.ConnectionPoolState connectionPoolState) |
void |
onException(String sql,
List<String> params,
Statement statement,
SQLException e) |
public void onConnectionTaken(Connection connection, org.ofbiz.core.entity.jdbc.interceptors.connection.ConnectionPoolState connectionPoolState)
onConnectionTaken
in interface org.ofbiz.core.entity.jdbc.interceptors.connection.SQLConnectionInterceptor
public void onConnectionReplaced(Connection connection, org.ofbiz.core.entity.jdbc.interceptors.connection.ConnectionPoolState connectionPoolState)
onConnectionReplaced
in interface org.ofbiz.core.entity.jdbc.interceptors.connection.SQLConnectionInterceptor
public void beforeExecution(String sql, List<String> params, Statement statement)
beforeExecution
in interface org.ofbiz.core.entity.jdbc.interceptors.SQLInterceptor
public void afterSuccessfulExecution(String sql, List<String> params, Statement statement, ResultSet resultSet, int i)
afterSuccessfulExecution
in interface org.ofbiz.core.entity.jdbc.interceptors.SQLInterceptor
public void onException(String sql, List<String> params, Statement statement, SQLException e)
onException
in interface org.ofbiz.core.entity.jdbc.interceptors.SQLInterceptor
Copyright © 2002-2022 Atlassian. All Rights Reserved.