Class LettuceAsyncCommandsInstrumentation.DispatchAdvice

java.lang.Object
io.opentelemetry.javaagent.instrumentation.lettuce.v4_0.LettuceAsyncCommandsInstrumentation.DispatchAdvice
Enclosing class:
LettuceAsyncCommandsInstrumentation

public static class LettuceAsyncCommandsInstrumentation.DispatchAdvice extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onEnter(com.lambdaworks.redis.protocol.RedisCommand<?,?,?> command, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope)
     
    static void
    onExit(com.lambdaworks.redis.protocol.RedisCommand<?,?,?> command, Throwable throwable, com.lambdaworks.redis.protocol.AsyncCommand<?,?,?> asyncCommand, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DispatchAdvice

      public DispatchAdvice()
  • Method Details

    • onEnter

      @OnMethodEnter(suppress=java.lang.Throwable.class) public static void onEnter(@Argument(0) com.lambdaworks.redis.protocol.RedisCommand<?,?,?> command, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope)
    • onExit

      @OnMethodExit(onThrowable=java.lang.Throwable.class, suppress=java.lang.Throwable.class) public static void onExit(@Argument(0) com.lambdaworks.redis.protocol.RedisCommand<?,?,?> command, @Thrown Throwable throwable, @Return com.lambdaworks.redis.protocol.AsyncCommand<?,?,?> asyncCommand, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope)