Class GuavaListenableFutureInstrumentation.AddListenerAdvice
java.lang.Object
io.opentelemetry.javaagent.instrumentation.guava.v10_0.GuavaListenableFutureInstrumentation.AddListenerAdvice
- Enclosing class:
GuavaListenableFutureInstrumentation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.opentelemetry.javaagent.bootstrap.executors.PropagatedContextaddListenerEnter(Runnable task) static voidaddListenerExit(io.opentelemetry.javaagent.bootstrap.executors.PropagatedContext propagatedContext, Throwable throwable)
-
Constructor Details
-
AddListenerAdvice
public AddListenerAdvice()
-
-
Method Details
-
addListenerEnter
@OnMethodEnter(suppress=java.lang.Throwable.class) public static io.opentelemetry.javaagent.bootstrap.executors.PropagatedContext addListenerEnter(@Argument(0) Runnable task) -
addListenerExit
@OnMethodExit(onThrowable=java.lang.Throwable.class, suppress=java.lang.Throwable.class) public static void addListenerExit(@Enter io.opentelemetry.javaagent.bootstrap.executors.PropagatedContext propagatedContext, @Thrown Throwable throwable)
-