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

    • Constructor Detail

      • Timers

        public Timers()
    • Method Detail

      • timeoutCheckInterval

        public static 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)