Class FutureListenerWrappers

java.lang.Object
io.opentelemetry.javaagent.instrumentation.netty.v4.common.FutureListenerWrappers

public final class FutureListenerWrappers extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<?>>
    getWrapper(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<?>> delegate)
     
    static boolean
    shouldWrap(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<?>> listener)
     
    static io.netty.util.concurrent.GenericFutureListener<?>
    wrap(io.opentelemetry.context.Context context, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<?>> delegate)
     

    Methods inherited from class java.lang.Object

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

    • shouldWrap

      public static boolean shouldWrap(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<?>> listener)
    • wrap

      public static io.netty.util.concurrent.GenericFutureListener<?> wrap(io.opentelemetry.context.Context context, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<?>> delegate)
    • getWrapper

      public static io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<?>> getWrapper(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<?>> delegate)