接口 DestinationRuleOuterClass.ConnectionPoolSettings.TCPSettingsOrBuilder

    • 方法详细资料

      • 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.