Interface SleuthMethodInvocationProcessor


public interface SleuthMethodInvocationProcessor
Contract for processing Sleuth annotations.
Since:
2.1.0
Author:
Marcin Grzejszczak
  • Method Summary

    Modifier and Type
    Method
    Description
    process(org.aopalliance.intercept.MethodInvocation invocation, NewSpan newSpan, ContinueSpan continueSpan)
    Executes a given Sleuth annotated method.
  • Method Details

    • process

      Object process(org.aopalliance.intercept.MethodInvocation invocation, NewSpan newSpan, ContinueSpan continueSpan) throws Throwable
      Executes a given Sleuth annotated method.
      Parameters:
      invocation - method invocation
      newSpan - annotation
      continueSpan - annotation
      Returns:
      executed method result
      Throws:
      Throwable - exception upon running a method