Package com.alibaba.druid.support.http
Class AbstractWebStatImpl.WebStatFilterContextListener
java.lang.Object
com.alibaba.druid.filter.stat.StatFilterContextListenerAdapter
com.alibaba.druid.support.http.AbstractWebStatImpl.WebStatFilterContextListener
- All Implemented Interfaces:
StatFilterContextListener
- Enclosing class:
- AbstractWebStatImpl
public class AbstractWebStatImpl.WebStatFilterContextListener
extends StatFilterContextListenerAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFetchRowCount
(int fetchRowCount) void
addUpdateCount
(int updateCount) void
commit()
void
executeAfter
(String sql, long nanos, Throwable error) void
executeBefore
(String sql, boolean inTransaction) void
pool_close
(long nanos) void
void
resultSet_close
(long nanos) void
void
rollback()
Methods inherited from class com.alibaba.druid.filter.stat.StatFilterContextListenerAdapter
blob_open, clob_open, physical_connection_close, physical_connection_connect
-
Constructor Details
-
WebStatFilterContextListener
public WebStatFilterContextListener()
-
-
Method Details
-
addUpdateCount
public void addUpdateCount(int updateCount) - Specified by:
addUpdateCount
in interfaceStatFilterContextListener
- Overrides:
addUpdateCount
in classStatFilterContextListenerAdapter
-
addFetchRowCount
public void addFetchRowCount(int fetchRowCount) - Specified by:
addFetchRowCount
in interfaceStatFilterContextListener
- Overrides:
addFetchRowCount
in classStatFilterContextListenerAdapter
-
executeBefore
- Specified by:
executeBefore
in interfaceStatFilterContextListener
- Overrides:
executeBefore
in classStatFilterContextListenerAdapter
-
executeAfter
- Specified by:
executeAfter
in interfaceStatFilterContextListener
- Overrides:
executeAfter
in classStatFilterContextListenerAdapter
-
commit
public void commit()- Specified by:
commit
in interfaceStatFilterContextListener
- Overrides:
commit
in classStatFilterContextListenerAdapter
-
rollback
public void rollback()- Specified by:
rollback
in interfaceStatFilterContextListener
- Overrides:
rollback
in classStatFilterContextListenerAdapter
-
pool_connect
public void pool_connect()- Specified by:
pool_connect
in interfaceStatFilterContextListener
- Overrides:
pool_connect
in classStatFilterContextListenerAdapter
-
pool_close
public void pool_close(long nanos) - Specified by:
pool_close
in interfaceStatFilterContextListener
- Overrides:
pool_close
in classStatFilterContextListenerAdapter
-
resultSet_open
public void resultSet_open()- Specified by:
resultSet_open
in interfaceStatFilterContextListener
- Overrides:
resultSet_open
in classStatFilterContextListenerAdapter
-
resultSet_close
public void resultSet_close(long nanos) - Specified by:
resultSet_close
in interfaceStatFilterContextListener
- Overrides:
resultSet_close
in classStatFilterContextListenerAdapter
-