Class StatementDecoratorInterceptor.StatementProxy<T extends Statement>
java.lang.Object
org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy<T>
- All Implemented Interfaces:
InvocationHandler
- Direct Known Subclasses:
StatementCache.CachedStatement
- Enclosing class:
- StatementDecoratorInterceptor
protected class StatementDecoratorInterceptor.StatementProxy<T extends Statement>
extends Object
implements InvocationHandler
Class to measure query execute time.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Constructor<?>
getSql()
void
setActualProxy
(Object proxy) void
setConnection
(Object proxy) void
setConstructor
(Constructor<?> constructor) toString()
-
Field Details
-
closed
protected boolean closed -
delegate
-
-
Constructor Details
-
StatementProxy
-
-
Method Details
-
getDelegate
-
getSql
-
setConnection
-
getConnection
-
setActualProxy
-
getActualProxy
-
getConstructor
-
setConstructor
-
closeInvoked
public void closeInvoked() -
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
toString
-