com.alibaba.druid.filter.stat
Class StatFilterContextListenerAdapter

java.lang.Object
  extended by com.alibaba.druid.filter.stat.StatFilterContextListenerAdapter
All Implemented Interfaces:
StatFilterContextListener

public class StatFilterContextListenerAdapter
extends Object
implements StatFilterContextListener


Constructor Summary
StatFilterContextListenerAdapter()
           
 
Method Summary
 void addFetchRowCount(int fetchRowCount)
           
 void addUpdateCount(int updateCount)
           
 void blob_open()
           
 void clob_open()
           
 void commit()
           
 void executeAfter(String sql, long nanoSpan, Throwable error)
           
 void executeBefore(String sql, boolean inTransaction)
           
 void physical_connection_close(long nanos)
           
 void physical_connection_connect()
           
 void pool_close(long nanos)
           
 void pool_connect()
           
 void resultSet_close(long nanos)
           
 void resultSet_open()
           
 void rollback()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatFilterContextListenerAdapter

public StatFilterContextListenerAdapter()
Method Detail

addUpdateCount

public void addUpdateCount(int updateCount)
Specified by:
addUpdateCount in interface StatFilterContextListener

addFetchRowCount

public void addFetchRowCount(int fetchRowCount)
Specified by:
addFetchRowCount in interface StatFilterContextListener

executeBefore

public void executeBefore(String sql,
                          boolean inTransaction)
Specified by:
executeBefore in interface StatFilterContextListener

executeAfter

public void executeAfter(String sql,
                         long nanoSpan,
                         Throwable error)
Specified by:
executeAfter in interface StatFilterContextListener

commit

public void commit()
Specified by:
commit in interface StatFilterContextListener

rollback

public void rollback()
Specified by:
rollback in interface StatFilterContextListener

pool_connect

public void pool_connect()
Specified by:
pool_connect in interface StatFilterContextListener

pool_close

public void pool_close(long nanos)
Specified by:
pool_close in interface StatFilterContextListener

physical_connection_connect

public void physical_connection_connect()
Specified by:
physical_connection_connect in interface StatFilterContextListener

physical_connection_close

public void physical_connection_close(long nanos)
Specified by:
physical_connection_close in interface StatFilterContextListener

resultSet_open

public void resultSet_open()
Specified by:
resultSet_open in interface StatFilterContextListener

resultSet_close

public void resultSet_close(long nanos)
Specified by:
resultSet_close in interface StatFilterContextListener

clob_open

public void clob_open()
Specified by:
clob_open in interface StatFilterContextListener

blob_open

public void blob_open()
Specified by:
blob_open in interface StatFilterContextListener


Copyright © 2012 Alibaba Group. All Rights Reserved.