public static interface DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicy |
getH2UpgradePolicy()
Specify if http1.1 connection should be upgraded to http2 for the associated destination.
|
int |
getH2UpgradePolicyValue()
Specify if http1.1 connection should be upgraded to http2 for the associated destination.
|
int |
getHttp1MaxPendingRequests()
Maximum number of pending HTTP requests to a destination.
|
int |
getHttp2MaxRequests()
Maximum number of requests to a backend.
|
com.google.protobuf.Duration |
getIdleTimeout()
The idle timeout for upstream connection pool connections.
|
com.google.protobuf.DurationOrBuilder |
getIdleTimeoutOrBuilder()
The idle timeout for upstream connection pool connections.
|
int |
getMaxRequestsPerConnection()
Maximum number of requests per connection to a backend.
|
int |
getMaxRetries()
Maximum number of retries that can be outstanding to all hosts in a
cluster at a given time.
|
boolean |
getUseClientProtocol()
If set to true, client protocol will be preserved while initiating connection to backend.
|
boolean |
hasIdleTimeout()
The idle timeout for upstream connection pool connections.
|
int getHttp1MaxPendingRequests()
Maximum number of pending HTTP requests to a destination. Default 2^32-1.
int32 http1_max_pending_requests = 1;int getHttp2MaxRequests()
Maximum number of requests to a backend. Default 2^32-1.
int32 http2_max_requests = 2;int getMaxRequestsPerConnection()
Maximum number of requests per connection to a backend. Setting this parameter to 1 disables keep alive. Default 0, meaning "unlimited", up to 2^29.
int32 max_requests_per_connection = 3;int getMaxRetries()
Maximum number of retries that can be outstanding to all hosts in a cluster at a given time. Defaults to 2^32-1.
int32 max_retries = 4;boolean hasIdleTimeout()
The idle timeout for upstream connection pool connections. The idle timeout is defined as the period in which there are no active requests. If not set, the default is 1 hour. When the idle timeout is reached, the connection will be closed. If the connection is an HTTP/2 connection a drain sequence will occur prior to closing the connection. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. Applies to both HTTP1.1 and HTTP2 connections.
.google.protobuf.Duration idle_timeout = 5;com.google.protobuf.Duration getIdleTimeout()
The idle timeout for upstream connection pool connections. The idle timeout is defined as the period in which there are no active requests. If not set, the default is 1 hour. When the idle timeout is reached, the connection will be closed. If the connection is an HTTP/2 connection a drain sequence will occur prior to closing the connection. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. Applies to both HTTP1.1 and HTTP2 connections.
.google.protobuf.Duration idle_timeout = 5;com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
The idle timeout for upstream connection pool connections. The idle timeout is defined as the period in which there are no active requests. If not set, the default is 1 hour. When the idle timeout is reached, the connection will be closed. If the connection is an HTTP/2 connection a drain sequence will occur prior to closing the connection. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. Applies to both HTTP1.1 and HTTP2 connections.
.google.protobuf.Duration idle_timeout = 5;int getH2UpgradePolicyValue()
Specify if http1.1 connection should be upgraded to http2 for the associated destination.
.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicy h2_upgrade_policy = 6;DestinationRuleOuterClass.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicy getH2UpgradePolicy()
Specify if http1.1 connection should be upgraded to http2 for the associated destination.
.istio.networking.v1alpha3.ConnectionPoolSettings.HTTPSettings.H2UpgradePolicy h2_upgrade_policy = 6;boolean getUseClientProtocol()
If set to true, client protocol will be preserved while initiating connection to backend. Note that when this is set to true, h2_upgrade_policy will be ineffective i.e. the client connections will not be upgraded to http2.
bool use_client_protocol = 7;Copyright © 2018–2023 Alibaba Group. All rights reserved.