|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Spy | |
---|---|
net.sf.log4jdbc | |
org.perf.log.filter.sql |
Uses of Spy in net.sf.log4jdbc |
---|
Classes in net.sf.log4jdbc that implement Spy | |
---|---|
class |
CallableStatementSpy
Wraps a CallableStatement and reports method calls, returns and exceptions. |
class |
ConnectionSpy
Wraps a JDBC Connection and reports method calls, returns and exceptions. |
class |
PreparedStatementSpy
Wraps a PreparedStatement and reports method calls, returns and exceptions. |
class |
ResultSetSpy
Wraps a ResultSet and reports method calls, returns and exceptions. |
class |
StatementSpy
Wraps a Statement and reports method calls, returns and exceptions. |
Methods in net.sf.log4jdbc with parameters of type Spy | |
---|---|
void |
SpyLogDelegator.connectionClosed(Spy spy)
Called whenever a connection spy is closed. |
void |
SpyLogDelegator.connectionOpened(Spy spy)
Called whenever a new connection spy is created. |
void |
SpyLogDelegator.constructorReturned(Spy spy,
java.lang.String constructionInfo)
Called when a spied upon object is constructed. |
void |
SpyLogDelegator.exceptionOccured(Spy spy,
java.lang.String methodCall,
java.lang.Exception e,
java.lang.String sql,
long execTime)
Called when a spied upon method throws an Exception. |
void |
SpyLogDelegator.methodReturned(Spy spy,
java.lang.String methodCall,
java.lang.String returnMsg)
Called when spied upon method call returns. |
void |
SpyLogDelegator.sqlOccured(Spy spy,
java.lang.String methodCall,
java.lang.String sql)
Special call that is called only for JDBC method calls that contain SQL. |
void |
SpyLogDelegator.sqlTimingOccured(Spy spy,
long execTime,
java.lang.String methodCall,
java.lang.String sql)
Similar to sqlOccured, but reported after SQL executes and used to report timing stats on the SQL |
Uses of Spy in org.perf.log.filter.sql |
---|
Methods in org.perf.log.filter.sql with parameters of type Spy | |
---|---|
void |
SQLInterceptorSpyLogDelegator.connectionClosed(Spy spy)
Called whenever a connection spy is closed. |
void |
SQLInterceptorSpyLogDelegator.connectionOpened(Spy spy)
Called whenever a new connection spy is created. |
void |
SQLInterceptorSpyLogDelegator.constructorReturned(Spy spy,
java.lang.String constructionInfo)
Called when a spied upon object is constructed. |
void |
SQLInterceptorSpyLogDelegator.exceptionOccured(Spy spy,
java.lang.String methodCall,
java.lang.Exception e,
java.lang.String sql,
long execTime)
Called when a jdbc method throws an Exception. |
void |
SQLInterceptorSpyLogDelegator.methodReturned(Spy spy,
java.lang.String methodCall,
java.lang.String returnMsg)
Called when a JDBC method from a Connection, Statement, PreparedStatement, CallableStatement or ResultSet returns. |
void |
SQLInterceptorSpyLogDelegator.sqlOccured(Spy spy,
java.lang.String methodCall,
java.lang.String sql)
Special call that is called only for JDBC method calls that contain SQL. |
void |
SQLInterceptorSpyLogDelegator.sqlTimingOccured(Spy spy,
long execTime,
java.lang.String methodCall,
java.lang.String sql)
Special call that is called only for JDBC method calls that contain SQL. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |