Package io.netty.handler.codec.quic
Enum QuicCongestionControlAlgorithm
- java.lang.Object
-
- java.lang.Enum<QuicCongestionControlAlgorithm>
-
- io.netty.handler.codec.quic.QuicCongestionControlAlgorithm
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<QuicCongestionControlAlgorithm>
public enum QuicCongestionControlAlgorithm extends java.lang.Enum<QuicCongestionControlAlgorithm>
Available congestion control algorithms to use.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QuicCongestionControlAlgorithm
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static QuicCongestionControlAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RENO
public static final QuicCongestionControlAlgorithm RENO
-
CUBIC
public static final QuicCongestionControlAlgorithm CUBIC
-
BBR
public static final QuicCongestionControlAlgorithm BBR
-
-
Method Detail
-
values
public static QuicCongestionControlAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (QuicCongestionControlAlgorithm c : QuicCongestionControlAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QuicCongestionControlAlgorithm valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-