接口 DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettingsOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings, DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettings.Builder
封闭类:
DestinationRuleOuterClass.ConnectionPoolSettings

public static interface DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法详细资料

    • 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

       If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
       
      .istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive tcp_keepalive = 3;