Enum Class Bbr.Mode

java.lang.Object
java.lang.Enum<Bbr.Mode>
io.github.mahmoudimus.quic.congestion.Bbr.Mode
All Implemented Interfaces:
Serializable, Comparable<Bbr.Mode>, Constable
Enclosing class:
Bbr

public static enum Bbr.Mode extends Enum<Bbr.Mode>
BBR's modes.
  • Enum Constant Details

    • STARTUP

      public static final Bbr.Mode STARTUP
      The start of the connection: the sending rate doubles each round trip.
    • DRAIN

      public static final Bbr.Mode DRAIN
      After STARTUP found the bandwidth, a lower pacing rate drains the queue it built.
    • PROBE_BW

      public static final Bbr.Mode PROBE_BW
      Cruising: the pacing gain cycles around the bandwidth estimate.
    • PROBE_RTT

      public static final Bbr.Mode PROBE_RTT
      Sending slows for a while to empty the queue and measure the real minimum RTT.
  • Method Details

    • values

      public static Bbr.Mode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Bbr.Mode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null