Class MetricsOperator<T>

java.lang.Object
se.fortnox.reactivewizard.metrics.MetricsOperator<T>
All Implemented Interfaces:
org.reactivestreams.Publisher<T>

public class MetricsOperator<T> extends Object implements org.reactivestreams.Publisher<T>
  • Constructor Details

    • MetricsOperator

      public MetricsOperator(org.reactivestreams.Publisher<T> source, com.codahale.metrics.Timer timer, Consumer<Long> callback)
  • Method Details

    • subscribe

      public void subscribe(org.reactivestreams.Subscriber<? super T> subscriber)
      Specified by:
      subscribe in interface org.reactivestreams.Publisher<T>