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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFetchRowCount
(int fetchRowCount) void
addUpdateCount
(int updateCount) void
void
void
commit()
void
executeAfter
(String sql, long nanoSpan, Throwable error) void
executeBefore
(String sql, boolean inTransaction) void
physical_connection_close
(long nanos) void
void
pool_close
(long nanos) void
void
resultSet_close
(long nanos) void
void
rollback()
-
Constructor Details
-
StatFilterContextListenerAdapter
public StatFilterContextListenerAdapter()
-
-
Method Details
-
addUpdateCount
public void addUpdateCount(int updateCount) - Specified by:
addUpdateCount
in interfaceStatFilterContextListener
-
addFetchRowCount
public void addFetchRowCount(int fetchRowCount) - Specified by:
addFetchRowCount
in interfaceStatFilterContextListener
-
executeBefore
- Specified by:
executeBefore
in interfaceStatFilterContextListener
-
executeAfter
- Specified by:
executeAfter
in interfaceStatFilterContextListener
-
commit
public void commit()- Specified by:
commit
in interfaceStatFilterContextListener
-
rollback
public void rollback()- Specified by:
rollback
in interfaceStatFilterContextListener
-
pool_connect
public void pool_connect()- Specified by:
pool_connect
in interfaceStatFilterContextListener
-
pool_close
public void pool_close(long nanos) - Specified by:
pool_close
in interfaceStatFilterContextListener
-
physical_connection_connect
public void physical_connection_connect()- Specified by:
physical_connection_connect
in interfaceStatFilterContextListener
-
physical_connection_close
public void physical_connection_close(long nanos) - Specified by:
physical_connection_close
in interfaceStatFilterContextListener
-
resultSet_open
public void resultSet_open()- Specified by:
resultSet_open
in interfaceStatFilterContextListener
-
resultSet_close
public void resultSet_close(long nanos) - Specified by:
resultSet_close
in interfaceStatFilterContextListener
-
clob_open
public void clob_open()- Specified by:
clob_open
in interfaceStatFilterContextListener
-
blob_open
public void blob_open()- Specified by:
blob_open
in interfaceStatFilterContextListener
-