接口 DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettingsOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings,DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.Builder
public static interface DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 com.google.protobuf.DurationgetConnectTimeout()TCP connection timeout. format: 1h/1m/1s/1ms.com.google.protobuf.DurationOrBuildergetConnectTimeoutOrBuilder()TCP connection timeout. format: 1h/1m/1s/1ms.intgetMaxConnections()Maximum number of HTTP1 /TCP connections to a destination host.DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepalivegetTcpKeepalive()If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepaliveOrBuildergetTcpKeepaliveOrBuilder()If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.booleanhasConnectTimeout()TCP connection timeout. format: 1h/1m/1s/1ms.booleanhasTcpKeepalive()If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
-
-
-
方法详细资料
-
getMaxConnections
int getMaxConnections()
Maximum number of HTTP1 /TCP connections to a destination host. Default 2^32-1.
int32 max_connections = 1;- 返回:
- The maxConnections.
-
hasConnectTimeout
boolean hasConnectTimeout()
TCP connection timeout. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s.
.google.protobuf.Duration connect_timeout = 2;- 返回:
- Whether the connectTimeout field is set.
-
getConnectTimeout
com.google.protobuf.Duration getConnectTimeout()
TCP connection timeout. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s.
.google.protobuf.Duration connect_timeout = 2;- 返回:
- The connectTimeout.
-
getConnectTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getConnectTimeoutOrBuilder()
TCP connection timeout. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s.
.google.protobuf.Duration connect_timeout = 2;
-
hasTcpKeepalive
boolean hasTcpKeepalive()
If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive tcp_keepalive = 3;- 返回:
- Whether the tcpKeepalive field is set.
-
getTcpKeepalive
DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepalive getTcpKeepalive()
If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive tcp_keepalive = 3;- 返回:
- The tcpKeepalive.
-
getTcpKeepaliveOrBuilder
DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.TcpKeepaliveOrBuilder getTcpKeepaliveOrBuilder()
If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive tcp_keepalive = 3;
-
-