Class SubscriberWrapper<T>

java.lang.Object
io.opentelemetry.javaagent.instrumentation.armeria.v1_3.SubscriberWrapper<T>
All Implemented Interfaces:
org.reactivestreams.Subscriber<T>

public class SubscriberWrapper<T> extends Object implements org.reactivestreams.Subscriber<T>
  • Method Details

    • wrap

      public static <T> org.reactivestreams.Subscriber<T> wrap(org.reactivestreams.Subscriber<T> delegate)
    • onSubscribe

      public void onSubscribe(org.reactivestreams.Subscription subscription)
      Specified by:
      onSubscribe in interface org.reactivestreams.Subscriber<T>
    • onNext

      public void onNext(T o)
      Specified by:
      onNext in interface org.reactivestreams.Subscriber<T>
    • onError

      public void onError(Throwable throwable)
      Specified by:
      onError in interface org.reactivestreams.Subscriber<T>
    • onComplete

      public void onComplete()
      Specified by:
      onComplete in interface org.reactivestreams.Subscriber<T>