Package io.envoyproxy.envoy.api.v2
Interface Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster.CommonLbConfig.ConsistentHashingLbConfig,Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder
- Enclosing class:
- Cluster.CommonLbConfig
public static interface Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf set to `true`, the cluster will use hostname instead of the resolved address as the key to consistently hash to an upstream host.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUseHostnameForHashing
boolean getUseHostnameForHashing()If set to `true`, the cluster will use hostname instead of the resolved address as the key to consistently hash to an upstream host. Only valid for StrictDNS clusters with hostnames which resolve to a single IP address.
bool use_hostname_for_hashing = 1;- Returns:
- The useHostnameForHashing.
-