Interface SleuthMethodInvocationProcessor


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

      • 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