Interface Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

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