Interface CircuitBreakers.Thresholds.RetryBudgetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CircuitBreakers.Thresholds.RetryBudget
,CircuitBreakers.Thresholds.RetryBudget.Builder
- Enclosing class:
CircuitBreakers.Thresholds
public static interface CircuitBreakers.Thresholds.RetryBudgetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests.Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests.com.google.protobuf.UInt32Value
Specifies the minimum retry concurrency allowed for the retry budget.com.google.protobuf.UInt32ValueOrBuilder
Specifies the minimum retry concurrency allowed for the retry budget.boolean
Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests.boolean
Specifies the minimum retry concurrency allowed for the retry budget.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasBudgetPercent
boolean hasBudgetPercent()Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests. For example, if there are 100 active requests and the budget_percent is set to 25, there may be 25 active retries. This parameter is optional. Defaults to 20%.
.envoy.type.v3.Percent budget_percent = 1;
- Returns:
- Whether the budgetPercent field is set.
-
getBudgetPercent
Percent getBudgetPercent()Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests. For example, if there are 100 active requests and the budget_percent is set to 25, there may be 25 active retries. This parameter is optional. Defaults to 20%.
.envoy.type.v3.Percent budget_percent = 1;
- Returns:
- The budgetPercent.
-
getBudgetPercentOrBuilder
PercentOrBuilder getBudgetPercentOrBuilder()Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests. For example, if there are 100 active requests and the budget_percent is set to 25, there may be 25 active retries. This parameter is optional. Defaults to 20%.
.envoy.type.v3.Percent budget_percent = 1;
-
hasMinRetryConcurrency
boolean hasMinRetryConcurrency()Specifies the minimum retry concurrency allowed for the retry budget. The limit on the number of active retries may never go below this number. This parameter is optional. Defaults to 3.
.google.protobuf.UInt32Value min_retry_concurrency = 2;
- Returns:
- Whether the minRetryConcurrency field is set.
-
getMinRetryConcurrency
com.google.protobuf.UInt32Value getMinRetryConcurrency()Specifies the minimum retry concurrency allowed for the retry budget. The limit on the number of active retries may never go below this number. This parameter is optional. Defaults to 3.
.google.protobuf.UInt32Value min_retry_concurrency = 2;
- Returns:
- The minRetryConcurrency.
-
getMinRetryConcurrencyOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getMinRetryConcurrencyOrBuilder()Specifies the minimum retry concurrency allowed for the retry budget. The limit on the number of active retries may never go below this number. This parameter is optional. Defaults to 3.
.google.protobuf.UInt32Value min_retry_concurrency = 2;
-