public class StatementTracker extends MethodCallAdapter
| Modifier and Type | Field and Description |
|---|---|
protected Func4<String,Object,Object,Method,Object[]> |
collectName |
protected String |
connectionCollectName |
protected WeakReference<Connection> |
wconn |
protected WeakReference<ConnectPool> |
wcpool |
protected WeakReference<Statement> |
wst |
chainArgs, redefArgs| Constructor and Description |
|---|
StatementTracker(ConnectPool cpool,
Connection conn,
Statement st) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginCall(Object proxy,
Object source,
Method meth,
Object[] args)
Вызывается перед началом метода
|
protected void |
collectActivity(Object proxy,
Object source,
Method meth,
Object[] args) |
Func4<String,Object,Object,Method,Object[]> |
getCollectName() |
String |
getConnectionCollectName() |
boolean |
isCollectActivity() |
void |
setCollectName(Func4<String,Object,Object,Method,Object[]> fn) |
void |
setConnectionCollectName(String connectionCollectName) |
beginCallRewrite, endCall, isChainArgs, isRedefArgs, setChainArgs, setRedefArgsprotected final WeakReference<ConnectPool> wcpool
protected final WeakReference<Connection> wconn
protected final WeakReference<Statement> wst
protected String connectionCollectName
public StatementTracker(ConnectPool cpool, Connection conn, Statement st)
public String getConnectionCollectName()
public void setConnectionCollectName(String connectionCollectName)
public boolean isCollectActivity()
protected void collectActivity(Object proxy, Object source, Method meth, Object[] args)
public void beginCall(Object proxy, Object source, Method meth, Object[] args)
MethodCallListenerbeginCall in interface MethodCallListenerbeginCall in class MethodCallAdapterproxy - Прокси объектsource - Исходный объектmeth - Методargs - АргументыCopyright © 2018. All rights reserved.