Package akka.http.impl.engine.http2
Class ConfigurablePing.EnabledPingState
- java.lang.Object
-
- akka.http.impl.engine.http2.ConfigurablePing.EnabledPingState
-
- All Implemented Interfaces:
ConfigurablePing.PingState
- Enclosing class:
- ConfigurablePing
public static final class ConfigurablePing.EnabledPingState extends java.lang.Object implements ConfigurablePing.PingState
-
-
Constructor Summary
Constructors Constructor Description EnabledPingState(scala.concurrent.duration.FiniteDuration _tickInterval, long pingEveryNTickWithoutData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
onDataFrameSeen()
void
onPingAck()
void
onTick()
boolean
pingAckOverdue()
void
sendingPing()
boolean
shouldEmitPing()
scala.Option<scala.concurrent.duration.FiniteDuration>
tickInterval()
-
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clear
in interfaceConfigurablePing.PingState
-
onDataFrameSeen
public void onDataFrameSeen()
- Specified by:
onDataFrameSeen
in interfaceConfigurablePing.PingState
-
onPingAck
public void onPingAck()
- Specified by:
onPingAck
in interfaceConfigurablePing.PingState
-
onTick
public void onTick()
- Specified by:
onTick
in interfaceConfigurablePing.PingState
-
pingAckOverdue
public boolean pingAckOverdue()
- Specified by:
pingAckOverdue
in interfaceConfigurablePing.PingState
-
sendingPing
public void sendingPing()
- Specified by:
sendingPing
in interfaceConfigurablePing.PingState
-
shouldEmitPing
public boolean shouldEmitPing()
- Specified by:
shouldEmitPing
in interfaceConfigurablePing.PingState
-
tickInterval
public scala.Option<scala.concurrent.duration.FiniteDuration> tickInterval()
- Specified by:
tickInterval
in interfaceConfigurablePing.PingState
-
-