public class PerformanceSQLInterceptor extends Object implements org.ofbiz.core.entity.jdbc.interceptors.connection.SQLConnectionInterceptor
Modifier and Type | Class and Description |
---|---|
static class |
PerformanceSQLInterceptor.SQLPerfCache |
Modifier and Type | Field and Description |
---|---|
static String |
SQL_PERF_CACHE |
Constructor and Description |
---|
PerformanceSQLInterceptor() |
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 static final String SQL_PERF_CACHE
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-2016 Atlassian. All Rights Reserved.