Class LettuceAsyncCommandInstrumentation.RestoreContextAdvice

java.lang.Object
io.opentelemetry.javaagent.instrumentation.lettuce.v4_0.LettuceAsyncCommandInstrumentation.RestoreContextAdvice
Enclosing class:
LettuceAsyncCommandInstrumentation

public static class LettuceAsyncCommandInstrumentation.RestoreContextAdvice extends Object
  • Constructor Details

    • RestoreContextAdvice

      public RestoreContextAdvice()
  • Method Details

    • onEnter

      @OnMethodEnter(suppress=java.lang.Throwable.class) public static void onEnter(@This com.lambdaworks.redis.protocol.AsyncCommand<?,?,?> asyncCommand, @Local("otelScope") io.opentelemetry.context.Scope scope)
    • onExit

      @OnMethodExit(onThrowable=java.lang.Throwable.class, suppress=java.lang.Throwable.class) public static void onExit(@Local("otelScope") io.opentelemetry.context.Scope scope)