Package com.alibaba.druid.filter.stat
Class StatFilterContextListenerAdapter
java.lang.Object
com.alibaba.druid.filter.stat.StatFilterContextListenerAdapter
- All Implemented Interfaces:
StatFilterContextListener
- Direct Known Subclasses:
AbstractWebStatImpl.WebStatFilterContextListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFetchRowCount(int fetchRowCount) voidaddUpdateCount(int updateCount) voidvoidvoidcommit()voidexecuteAfter(String sql, long nanoSpan, Throwable error) voidexecuteBefore(String sql, boolean inTransaction) voidphysical_connection_close(long nanos) voidvoidpool_close(long nanos) voidvoidresultSet_close(long nanos) voidvoidrollback()
-
Constructor Details
-
StatFilterContextListenerAdapter
public StatFilterContextListenerAdapter()
-
-
Method Details
-
addUpdateCount
public void addUpdateCount(int updateCount) - Specified by:
addUpdateCountin interfaceStatFilterContextListener
-
addFetchRowCount
public void addFetchRowCount(int fetchRowCount) - Specified by:
addFetchRowCountin interfaceStatFilterContextListener
-
executeBefore
- Specified by:
executeBeforein interfaceStatFilterContextListener
-
executeAfter
- Specified by:
executeAfterin interfaceStatFilterContextListener
-
commit
public void commit()- Specified by:
commitin interfaceStatFilterContextListener
-
rollback
public void rollback()- Specified by:
rollbackin interfaceStatFilterContextListener
-
pool_connect
public void pool_connect()- Specified by:
pool_connectin interfaceStatFilterContextListener
-
pool_close
public void pool_close(long nanos) - Specified by:
pool_closein interfaceStatFilterContextListener
-
physical_connection_connect
public void physical_connection_connect()- Specified by:
physical_connection_connectin interfaceStatFilterContextListener
-
physical_connection_close
public void physical_connection_close(long nanos) - Specified by:
physical_connection_closein interfaceStatFilterContextListener
-
resultSet_open
public void resultSet_open()- Specified by:
resultSet_openin interfaceStatFilterContextListener
-
resultSet_close
public void resultSet_close(long nanos) - Specified by:
resultSet_closein interfaceStatFilterContextListener
-
clob_open
public void clob_open()- Specified by:
clob_openin interfaceStatFilterContextListener
-
blob_open
public void blob_open()- Specified by:
blob_openin interfaceStatFilterContextListener
-