Interface AdaptiveConcurrencyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdaptiveConcurrency,AdaptiveConcurrency.Builder
public interface AdaptiveConcurrencyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThis field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded.This field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded.If set to false, the adaptive concurrency filter will operate as a pass-through filter.If set to false, the adaptive concurrency filter will operate as a pass-through filter.Gradient concurrency control will be used.Gradient concurrency control will be used.booleanThis field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded.booleanIf set to false, the adaptive concurrency filter will operate as a pass-through filter.booleanGradient concurrency control will be used.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasGradientControllerConfig
boolean hasGradientControllerConfig()Gradient concurrency control will be used.
.envoy.extensions.filters.http.adaptive_concurrency.v3.GradientControllerConfig gradient_controller_config = 1 [(.validate.rules) = { ... }- Returns:
- Whether the gradientControllerConfig field is set.
-
getGradientControllerConfig
GradientControllerConfig getGradientControllerConfig()Gradient concurrency control will be used.
.envoy.extensions.filters.http.adaptive_concurrency.v3.GradientControllerConfig gradient_controller_config = 1 [(.validate.rules) = { ... }- Returns:
- The gradientControllerConfig.
-
getGradientControllerConfigOrBuilder
GradientControllerConfigOrBuilder getGradientControllerConfigOrBuilder()Gradient concurrency control will be used.
.envoy.extensions.filters.http.adaptive_concurrency.v3.GradientControllerConfig gradient_controller_config = 1 [(.validate.rules) = { ... } -
hasEnabled
boolean hasEnabled()If set to false, the adaptive concurrency filter will operate as a pass-through filter. If the message is unspecified, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 2;- Returns:
- Whether the enabled field is set.
-
getEnabled
RuntimeFeatureFlag getEnabled()If set to false, the adaptive concurrency filter will operate as a pass-through filter. If the message is unspecified, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 2;- Returns:
- The enabled.
-
getEnabledOrBuilder
RuntimeFeatureFlagOrBuilder getEnabledOrBuilder()If set to false, the adaptive concurrency filter will operate as a pass-through filter. If the message is unspecified, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 2; -
hasConcurrencyLimitExceededStatus
boolean hasConcurrencyLimitExceededStatus()This field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded. Defaults to 503 (Service Unavailable). .. note:: If this is set to < 400, 503 will be used instead.
.envoy.type.v3.HttpStatus concurrency_limit_exceeded_status = 3;- Returns:
- Whether the concurrencyLimitExceededStatus field is set.
-
getConcurrencyLimitExceededStatus
HttpStatus getConcurrencyLimitExceededStatus()This field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded. Defaults to 503 (Service Unavailable). .. note:: If this is set to < 400, 503 will be used instead.
.envoy.type.v3.HttpStatus concurrency_limit_exceeded_status = 3;- Returns:
- The concurrencyLimitExceededStatus.
-
getConcurrencyLimitExceededStatusOrBuilder
HttpStatusOrBuilder getConcurrencyLimitExceededStatusOrBuilder()This field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded. Defaults to 503 (Service Unavailable). .. note:: If this is set to < 400, 503 will be used instead.
.envoy.type.v3.HttpStatus concurrency_limit_exceeded_status = 3; -
getConcurrencyControllerConfigCase
AdaptiveConcurrency.ConcurrencyControllerConfigCase getConcurrencyControllerConfigCase()
-