Top Description Methods
io.micrometer.tracing.annotation

public Interface MethodInvocationProcessor

Known Direct Implementers
io.micrometer.tracing.annotation.AbstractMethodInvocationProcessor
Imports
org.aopalliance.intercept.MethodInvocation

Contract for processing annotations.
Author
Marcin Grzejszczak
Since
1.0.0

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

executed method result
process
(MethodInvocation
method invocation
invocation
,
NewSpan
annotation
newSpan
,
ContinueSpan
annotation
continueSpan
)

Executes the annotated method.

Method Detail

processback to summary
public Object process(MethodInvocation invocation, NewSpan newSpan, ContinueSpan continueSpan) throws Throwable

Executes the annotated method.

Parameters
invocation:MethodInvocation

method invocation

newSpan:NewSpan

annotation

continueSpan:ContinueSpan

annotation

Returns:Object

executed method result

Exceptions
Throwable:
exception upon running a method