Class StatementFacade.StatementProxy

java.lang.Object
org.apache.tomcat.jdbc.pool.StatementFacade.StatementProxy
All Implemented Interfaces:
InvocationHandler
Enclosing class:
StatementFacade

protected class StatementFacade.StatementProxy extends Object implements InvocationHandler
Proxy for a SQL statement used to measure query execute time.
  • Field Details

    • closed

      protected boolean closed
      Indicates whether this statement has been closed.
    • delegate

      protected Object delegate
      The delegated statement.
    • query

      protected final String query
      The SQL query text.
  • Constructor Details

    • StatementProxy

      public StatementProxy(Object parent, String query)
      Constructs a StatementProxy.
      Parameters:
      parent - the parent statement
      query - the SQL query text
  • Method Details