public class StatFilterContext extends Object
构造器和说明 |
---|
StatFilterContext() |
限定符和类型 | 方法和说明 |
---|---|
void |
addContextListener(StatFilterContextListener listener) |
void |
addFetchRowCount(int fetchRowCount) |
void |
addUpdateCount(int updateCount) |
void |
commit() |
void |
executeAfter(String sql,
long nanoSpan,
Throwable error) |
void |
executeBefore(String sql,
boolean inTransaction) |
static StatFilterContext |
getInstance() |
List<StatFilterContextListener> |
getListeners() |
boolean |
removeContextListener(StatFilterContextListener listener) |
void |
rollback() |
public static final StatFilterContext getInstance()
public void addContextListener(StatFilterContextListener listener)
public boolean removeContextListener(StatFilterContextListener listener)
public List<StatFilterContextListener> getListeners()
public void addUpdateCount(int updateCount)
public void addFetchRowCount(int fetchRowCount)
public void executeBefore(String sql, boolean inTransaction)
public void commit()
public void rollback()
Copyright © 2012 Alibaba Group. All Rights Reserved.