Class Implicits.TimedSourceDsl<I,​Mat>

  • Enclosing class:
    Implicits

    public static class Implicits.TimedSourceDsl<I,​Mat>
    extends scala.AnyVal
    Provides time measurement utilities on Stream elements.

    See Timed

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object x$1)  
      int hashCode()  
      Source<I,​Mat> source()  
      <O,​Mat2>
      Source<O,​Mat2>
      timed​(scala.Function1<Source<I,​Mat>,​Source<O,​Mat2>> measuredOps, scala.Function1<scala.concurrent.duration.FiniteDuration,​scala.runtime.BoxedUnit> onComplete)
      Measures time from receiving the first element and completion events - one for each subscriber of this Flow.
      Source<I,​Mat> timedIntervalBetween​(scala.Function1<I,​java.lang.Object> matching, scala.Function1<scala.concurrent.duration.FiniteDuration,​scala.runtime.BoxedUnit> onInterval)
      Measures rolling interval between immediately subsequent matching(o: O) elements.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TimedSourceDsl

        public TimedSourceDsl​(Source<I,​Mat> source)
    • Method Detail

      • timed

        public <O,​Mat2> Source<O,​Mat2> timed​(scala.Function1<Source<I,​Mat>,​Source<O,​Mat2>> measuredOps,
                                                         scala.Function1<scala.concurrent.duration.FiniteDuration,​scala.runtime.BoxedUnit> onComplete)
        Measures time from receiving the first element and completion events - one for each subscriber of this Flow.
        Parameters:
        measuredOps - (undocumented)
        onComplete - (undocumented)
        Returns:
        (undocumented)
      • timedIntervalBetween

        public Source<I,​Mat> timedIntervalBetween​(scala.Function1<I,​java.lang.Object> matching,
                                                        scala.Function1<scala.concurrent.duration.FiniteDuration,​scala.runtime.BoxedUnit> onInterval)
        Measures rolling interval between immediately subsequent matching(o: O) elements.
        Parameters:
        matching - (undocumented)
        onInterval - (undocumented)
        Returns:
        (undocumented)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Overrides:
        equals in class java.lang.Object