接口 DestinationRuleOuterClass.LoadBalancerSettings.ConsistentHashLBOrBuilder

    • 方法详细资料

      • hasHttpHeaderName

        boolean hasHttpHeaderName()
         Hash based on a specific HTTP header.
         
        string http_header_name = 1;
        返回:
        Whether the httpHeaderName field is set.
      • getHttpHeaderName

        java.lang.String getHttpHeaderName()
         Hash based on a specific HTTP header.
         
        string http_header_name = 1;
        返回:
        The httpHeaderName.
      • getHttpHeaderNameBytes

        com.google.protobuf.ByteString getHttpHeaderNameBytes()
         Hash based on a specific HTTP header.
         
        string http_header_name = 1;
        返回:
        The bytes for httpHeaderName.
      • hasHttpCookie

        boolean hasHttpCookie()
         Hash based on HTTP cookie.
         
        .istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLB.HTTPCookie http_cookie = 2;
        返回:
        Whether the httpCookie field is set.
      • hasUseSourceIp

        boolean hasUseSourceIp()
         Hash based on the source IP address.
         
        bool use_source_ip = 3;
        返回:
        Whether the useSourceIp field is set.
      • getUseSourceIp

        boolean getUseSourceIp()
         Hash based on the source IP address.
         
        bool use_source_ip = 3;
        返回:
        The useSourceIp.
      • hasHttpQueryParameterName

        boolean hasHttpQueryParameterName()
         Hash based on a specific HTTP query parameter.
         
        string http_query_parameter_name = 5;
        返回:
        Whether the httpQueryParameterName field is set.
      • getHttpQueryParameterName

        java.lang.String getHttpQueryParameterName()
         Hash based on a specific HTTP query parameter.
         
        string http_query_parameter_name = 5;
        返回:
        The httpQueryParameterName.
      • getHttpQueryParameterNameBytes

        com.google.protobuf.ByteString getHttpQueryParameterNameBytes()
         Hash based on a specific HTTP query parameter.
         
        string http_query_parameter_name = 5;
        返回:
        The bytes for httpQueryParameterName.
      • getMinimumRingSize

        long getMinimumRingSize()
         The minimum number of virtual nodes to use for the hash
         ring. Defaults to 1024. Larger ring sizes result in more granular
         load distributions. If the number of hosts in the load balancing
         pool is larger than the ring size, each host will be assigned a
         single virtual node.
         
        uint64 minimum_ring_size = 4;
        返回:
        The minimumRingSize.