Class TraceProxyExecutionListener

  • All Implemented Interfaces:
    io.r2dbc.proxy.listener.ProxyExecutionListener

    public class TraceProxyExecutionListener
    extends Object
    implements io.r2dbc.proxy.listener.ProxyExecutionListener
    Trace representation of a ProxyExecutionListener.
    Since:
    3.1.0
    Author:
    Marcin Grzejszczak
    • Constructor Detail

      • TraceProxyExecutionListener

        public TraceProxyExecutionListener​(org.springframework.beans.factory.BeanFactory beanFactory,
                                           io.r2dbc.spi.ConnectionFactory connectionFactory)
    • Method Detail

      • beforeQuery

        public void beforeQuery​(io.r2dbc.proxy.core.QueryExecutionInfo executionInfo)
        Specified by:
        beforeQuery in interface io.r2dbc.proxy.listener.ProxyExecutionListener
      • afterQuery

        public void afterQuery​(io.r2dbc.proxy.core.QueryExecutionInfo executionInfo)
        Specified by:
        afterQuery in interface io.r2dbc.proxy.listener.ProxyExecutionListener
      • eachQueryResult

        public void eachQueryResult​(io.r2dbc.proxy.core.QueryExecutionInfo executionInfo)
        Specified by:
        eachQueryResult in interface io.r2dbc.proxy.listener.ProxyExecutionListener