Package akka.stream.impl
Class Timers
- java.lang.Object
-
- akka.stream.impl.Timers
-
public class Timers extends java.lang.Object
INTERNAL APIVarious 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Timers.BackpressureTimeout<T>
static class
Timers.Completion<T>
static class
Timers.DelayInitial<T>
static class
Timers.GraphStageLogicTimer$
static class
Timers.Idle<T>
static class
Timers.IdleInject<I,O>
static class
Timers.IdleTimeoutBidi<I,O>
static class
Timers.Initial<T>
-
Constructor Summary
Constructors Constructor Description Timers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-