Class Timers$


  • public class Timers$
    extends java.lang.Object
    INTERNAL API

    Various operators for controlling timeouts on IO related streams (although not necessarily).

    The common theme among the processing operators here that - they wait for certain event or events to happen - they have a timer that may fire before these events - if the timer fires before the event happens, these operators all fail the stream - otherwise, these streams do not interfere with the element flow, ordinary completion or failure

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Timers$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      Timers$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      scala.concurrent.duration.FiniteDuration timeoutCheckInterval​(scala.concurrent.duration.FiniteDuration timeout)
      Given a timeout computes how often the check should be run without causing excessive load or losing timeout precision.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final Timers$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • Timers$

        public Timers$()
    • Method Detail

      • timeoutCheckInterval

        public scala.concurrent.duration.FiniteDuration timeoutCheckInterval​(scala.concurrent.duration.FiniteDuration timeout)
        Given a timeout computes how often the check should be run without causing excessive load or losing timeout precision.
        Parameters:
        timeout - (undocumented)
        Returns:
        (undocumented)