Class GuavaAsyncOperationEndStrategy

java.lang.Object
io.opentelemetry.instrumentation.guava.v10_0.GuavaAsyncOperationEndStrategy
All Implemented Interfaces:
io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndStrategy

public final class GuavaAsyncOperationEndStrategy extends Object implements io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndStrategy
  • Method Details

    • create

      public static GuavaAsyncOperationEndStrategy create()
    • builder

      public static GuavaAsyncOperationEndStrategyBuilder builder()
    • supports

      public boolean supports(Class<?> returnType)
      Specified by:
      supports in interface io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndStrategy
    • end

      public <REQUEST, RESPONSE> Object end(io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<REQUEST,RESPONSE> instrumenter, io.opentelemetry.context.Context context, REQUEST request, Object asyncValue, Class<RESPONSE> responseType)
      Specified by:
      end in interface io.opentelemetry.instrumentation.api.annotation.support.async.AsyncOperationEndStrategy