Interface SleuthMethodInvocationProcessor
public interface SleuthMethodInvocationProcessor
Contract for processing Sleuth annotations.
- Since:
- 2.1.0
- Author:
- Marcin Grzejszczak
-
Method Summary
Modifier and TypeMethodDescriptionprocess(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 invocationnewSpan- annotationcontinueSpan- annotation- Returns:
- executed method result
- Throws:
Throwable- exception upon running a method
-