接口 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
-
方法概要
修饰符和类型方法说明Hash based on HTTP cookie.Hash based on HTTP cookie.Hash based on a specific HTTP header.com.google.protobuf.ByteStringHash based on a specific HTTP header.Hash based on a specific HTTP query parameter.com.google.protobuf.ByteStringHash based on a specific HTTP query parameter.longThe minimum number of virtual nodes to use for the hash ring.booleanHash based on the source IP address.booleanHash based on HTTP cookie.booleanHash based on a specific HTTP header.booleanHash based on a specific HTTP query parameter.booleanHash based on the source IP address.从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
hasHttpHeaderName
boolean hasHttpHeaderName()Hash based on a specific HTTP header.
string http_header_name = 1;- 返回:
- Whether the httpHeaderName field is set.
-
getHttpHeaderName
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
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
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
-