Class TraceProxyExecutionListener

java.lang.Object
org.springframework.cloud.sleuth.instrument.r2dbc.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 Summary

    Constructors
    Constructor
    Description
    TraceProxyExecutionListener(org.springframework.beans.factory.BeanFactory beanFactory, io.r2dbc.spi.ConnectionFactory connectionFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterQuery(io.r2dbc.proxy.core.QueryExecutionInfo executionInfo)
     
    void
    beforeQuery(io.r2dbc.proxy.core.QueryExecutionInfo executionInfo)
     
    void
    eachQueryResult(io.r2dbc.proxy.core.QueryExecutionInfo executionInfo)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.r2dbc.proxy.listener.ProxyExecutionListener

    afterMethod, beforeMethod
  • Constructor Details

    • TraceProxyExecutionListener

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

    • 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