接口 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.DurationTCP connection timeout. format: 1h/1m/1s/1ms.com.google.protobuf.DurationOrBuilderTCP connection timeout. format: 1h/1m/1s/1ms.intMaximum number of HTTP1 /TCP connections to a destination host.If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.booleanTCP connection timeout. format: 1h/1m/1s/1ms.booleanIf set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
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
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;
-