HTTP2HealthCheckWeightReportMode

enum HTTP2HealthCheckWeightReportMode : Enum<HTTP2HealthCheckWeightReportMode> , ConvertibleToJava<HTTP2HealthCheckWeightReportMode>

Weight report mode. used for weighted Load Balancing.

Entries

Link copied to clipboard

Health Checker will not parse the header field.

Link copied to clipboard

Health Checker will parse and report the weight in the header field, but load balancing will not be based on the weights and will use equal weights.

Link copied to clipboard

Health Checker will try to parse and report the weight in the header field, and load balancing will be based on the weights as long as all backends have a valid weight or only a subset of backends has the UNAVAILABLE_WEIGHT WeightError. The latter case is to continue the weighted load balancing while some backends are in TIMEOUT or UNKNOWN health status.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): HTTP2HealthCheckWeightReportMode
Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: HTTP2HealthCheckWeightReportMode
Link copied to clipboard
Link copied to clipboard