Class Implicits.TimedFlowDsl<I,​O,​Mat>

  • Enclosing class:
    Implicits

    public static class Implicits.TimedFlowDsl<I,​O,​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)  
      Flow<I,​O,​Mat> flow()  
      int hashCode()  
      <Out,​Mat2>
      Flow<I,​Out,​Mat2>
      timed​(scala.Function1<Flow<I,​O,​Mat>,​Flow<I,​Out,​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.
      Flow<I,​O,​Mat> timedIntervalBetween​(scala.Function1<O,​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

      • TimedFlowDsl

        public TimedFlowDsl​(Flow<I,​O,​Mat> flow)
    • Method Detail

      • timed

        public <Out,​Mat2> Flow<I,​Out,​Mat2> timed​(scala.Function1<Flow<I,​O,​Mat>,​Flow<I,​Out,​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 Flow<I,​O,​Mat> timedIntervalBetween​(scala.Function1<O,​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