public static interface VirtualServiceOuterClass.HTTPRetryOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getAttempts()
Number of retries to be allowed for a given request.
|
com.google.protobuf.Duration |
getPerTryTimeout()
Timeout per retry attempt for a given request. format: 1h/1m/1s/1ms.
|
com.google.protobuf.DurationOrBuilder |
getPerTryTimeoutOrBuilder()
Timeout per retry attempt for a given request. format: 1h/1m/1s/1ms.
|
String |
getRetryOn()
Specifies the conditions under which retry takes place.
|
com.google.protobuf.ByteString |
getRetryOnBytes()
Specifies the conditions under which retry takes place.
|
com.google.protobuf.BoolValue |
getRetryRemoteLocalities()
Flag to specify whether the retries should retry to other localities.
|
com.google.protobuf.BoolValueOrBuilder |
getRetryRemoteLocalitiesOrBuilder()
Flag to specify whether the retries should retry to other localities.
|
boolean |
hasPerTryTimeout()
Timeout per retry attempt for a given request. format: 1h/1m/1s/1ms.
|
boolean |
hasRetryRemoteLocalities()
Flag to specify whether the retries should retry to other localities.
|
int getAttempts()
Number of retries to be allowed for a given request. The interval between retries will be determined automatically (25ms+). When request `timeout` of the [HTTP route](https://istio.io/docs/reference/config/networking/virtual-service/#HTTPRoute) or `per_try_timeout` is configured, the actual number of retries attempted also depends on the specified request `timeout` and `per_try_timeout` values.
int32 attempts = 1 [(.google.api.field_behavior) = REQUIRED];boolean hasPerTryTimeout()
Timeout per retry attempt for a given request. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is same value as request `timeout` of the [HTTP route](https://istio.io/docs/reference/config/networking/virtual-service/#HTTPRoute), which means no timeout.
.google.protobuf.Duration per_try_timeout = 2;com.google.protobuf.Duration getPerTryTimeout()
Timeout per retry attempt for a given request. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is same value as request `timeout` of the [HTTP route](https://istio.io/docs/reference/config/networking/virtual-service/#HTTPRoute), which means no timeout.
.google.protobuf.Duration per_try_timeout = 2;com.google.protobuf.DurationOrBuilder getPerTryTimeoutOrBuilder()
Timeout per retry attempt for a given request. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is same value as request `timeout` of the [HTTP route](https://istio.io/docs/reference/config/networking/virtual-service/#HTTPRoute), which means no timeout.
.google.protobuf.Duration per_try_timeout = 2;String getRetryOn()
Specifies the conditions under which retry takes place. One or more policies can be specified using a ‘,’ delimited list. See the [retry policies](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-on) and [gRPC retry policies](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-grpc-on) for more details.
string retry_on = 3;com.google.protobuf.ByteString getRetryOnBytes()
Specifies the conditions under which retry takes place. One or more policies can be specified using a ‘,’ delimited list. See the [retry policies](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-on) and [gRPC retry policies](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-grpc-on) for more details.
string retry_on = 3;boolean hasRetryRemoteLocalities()
Flag to specify whether the retries should retry to other localities. See the [retry plugin configuration](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/http/http_connection_management#retry-plugin-configuration) for more details.
.google.protobuf.BoolValue retry_remote_localities = 4;com.google.protobuf.BoolValue getRetryRemoteLocalities()
Flag to specify whether the retries should retry to other localities. See the [retry plugin configuration](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/http/http_connection_management#retry-plugin-configuration) for more details.
.google.protobuf.BoolValue retry_remote_localities = 4;com.google.protobuf.BoolValueOrBuilder getRetryRemoteLocalitiesOrBuilder()
Flag to specify whether the retries should retry to other localities. See the [retry plugin configuration](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/http/http_connection_management#retry-plugin-configuration) for more details.
.google.protobuf.BoolValue retry_remote_localities = 4;Copyright © 2018–2023 Alibaba Group. All rights reserved.