接口 DestinationRuleOuterClass.LoadBalancerSettings.ConsistentHashLBOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
DestinationRuleOuterClass.LoadBalancerSettings.ConsistentHashLB,DestinationRuleOuterClass.LoadBalancerSettings.ConsistentHashLB.Builder
public static interface DestinationRuleOuterClass.LoadBalancerSettings.ConsistentHashLBOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 DestinationRuleOuterClass.LoadBalancerSettings.ConsistentHashLB.HashKeyCasegetHashKeyCase()DestinationRuleOuterClass.LoadBalancerSettings.ConsistentHashLB.HTTPCookiegetHttpCookie()Hash based on HTTP cookie.DestinationRuleOuterClass.LoadBalancerSettings.ConsistentHashLB.HTTPCookieOrBuildergetHttpCookieOrBuilder()Hash based on HTTP cookie.java.lang.StringgetHttpHeaderName()Hash based on a specific HTTP header.com.google.protobuf.ByteStringgetHttpHeaderNameBytes()Hash based on a specific HTTP header.java.lang.StringgetHttpQueryParameterName()Hash based on a specific HTTP query parameter.com.google.protobuf.ByteStringgetHttpQueryParameterNameBytes()Hash based on a specific HTTP query parameter.longgetMinimumRingSize()The minimum number of virtual nodes to use for the hash ring.booleangetUseSourceIp()Hash based on the source IP address.booleanhasHttpCookie()Hash based on HTTP cookie.booleanhasHttpHeaderName()Hash based on a specific HTTP header.booleanhasHttpQueryParameterName()Hash based on a specific HTTP query parameter.booleanhasUseSourceIp()Hash based on the source IP address.
-
-
-
方法详细资料
-
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.
-
getHttpCookie
DestinationRuleOuterClass.LoadBalancerSettings.ConsistentHashLB.HTTPCookie getHttpCookie()
Hash based on HTTP cookie.
.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLB.HTTPCookie http_cookie = 2;- 返回:
- The httpCookie.
-
getHttpCookieOrBuilder
DestinationRuleOuterClass.LoadBalancerSettings.ConsistentHashLB.HTTPCookieOrBuilder getHttpCookieOrBuilder()
Hash based on HTTP cookie.
.istio.networking.v1alpha3.LoadBalancerSettings.ConsistentHashLB.HTTPCookie http_cookie = 2;
-
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.
-
getHashKeyCase
DestinationRuleOuterClass.LoadBalancerSettings.ConsistentHashLB.HashKeyCase getHashKeyCase()
-
-