Class StatementFacade

    • Constructor Detail

      • StatementFacade

        protected StatementFacade​(JdbcInterceptor interceptor)
    • Method Detail

      • createStatement

        public java.lang.Object createStatement​(java.lang.Object proxy,
                                                java.lang.reflect.Method method,
                                                java.lang.Object[] args,
                                                java.lang.Object statement,
                                                long time)
        Creates a statement interceptor to monitor query response times
        Specified by:
        createStatement in class AbstractCreateStatementInterceptor
        Parameters:
        proxy - the actual proxy object
        method - the method that was called. It will be one of the methods defined in AbstractCreateStatementInterceptor.STATEMENT_TYPES
        args - the arguments to the method
        statement - the statement that the underlying connection created
        time - Elapsed time
        Returns:
        a Statement object