Interface Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getFailTrafficOnPanic()
      If set to true, Envoy will not consider any hosts when the cluster is in :ref:`panic mode<arch_overview_load_balancing_panic_threshold>`.
      com.google.protobuf.UInt64Value getMinClusterSize()
      Configures minimum upstream cluster size required for zone aware routing If upstream cluster size is less than specified, zone aware routing is not performed even if zone aware routing is configured.
      com.google.protobuf.UInt64ValueOrBuilder getMinClusterSizeOrBuilder()
      Configures minimum upstream cluster size required for zone aware routing If upstream cluster size is less than specified, zone aware routing is not performed even if zone aware routing is configured.
      Percent getRoutingEnabled()
      Configures percentage of requests that will be considered for zone aware routing if zone aware routing is configured.
      PercentOrBuilder getRoutingEnabledOrBuilder()
      Configures percentage of requests that will be considered for zone aware routing if zone aware routing is configured.
      boolean hasMinClusterSize()
      Configures minimum upstream cluster size required for zone aware routing If upstream cluster size is less than specified, zone aware routing is not performed even if zone aware routing is configured.
      boolean hasRoutingEnabled()
      Configures percentage of requests that will be considered for zone aware routing if zone aware routing is configured.
      • 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

      • hasRoutingEnabled

        boolean hasRoutingEnabled()
         Configures percentage of requests that will be considered for zone aware routing
         if zone aware routing is configured. If not specified, the default is 100%.
         * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`.
         * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
         
        .envoy.type.v3.Percent routing_enabled = 1;
        Returns:
        Whether the routingEnabled field is set.
      • getRoutingEnabled

        Percent getRoutingEnabled()
         Configures percentage of requests that will be considered for zone aware routing
         if zone aware routing is configured. If not specified, the default is 100%.
         * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`.
         * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
         
        .envoy.type.v3.Percent routing_enabled = 1;
        Returns:
        The routingEnabled.
      • getRoutingEnabledOrBuilder

        PercentOrBuilder getRoutingEnabledOrBuilder()
         Configures percentage of requests that will be considered for zone aware routing
         if zone aware routing is configured. If not specified, the default is 100%.
         * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`.
         * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
         
        .envoy.type.v3.Percent routing_enabled = 1;
      • hasMinClusterSize

        boolean hasMinClusterSize()
         Configures minimum upstream cluster size required for zone aware routing
         If upstream cluster size is less than specified, zone aware routing is not performed
         even if zone aware routing is configured. If not specified, the default is 6.
         * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`.
         * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
         
        .google.protobuf.UInt64Value min_cluster_size = 2;
        Returns:
        Whether the minClusterSize field is set.
      • getMinClusterSize

        com.google.protobuf.UInt64Value getMinClusterSize()
         Configures minimum upstream cluster size required for zone aware routing
         If upstream cluster size is less than specified, zone aware routing is not performed
         even if zone aware routing is configured. If not specified, the default is 6.
         * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`.
         * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
         
        .google.protobuf.UInt64Value min_cluster_size = 2;
        Returns:
        The minClusterSize.
      • getMinClusterSizeOrBuilder

        com.google.protobuf.UInt64ValueOrBuilder getMinClusterSizeOrBuilder()
         Configures minimum upstream cluster size required for zone aware routing
         If upstream cluster size is less than specified, zone aware routing is not performed
         even if zone aware routing is configured. If not specified, the default is 6.
         * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`.
         * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
         
        .google.protobuf.UInt64Value min_cluster_size = 2;
      • getFailTrafficOnPanic

        boolean getFailTrafficOnPanic()
         If set to true, Envoy will not consider any hosts when the cluster is in :ref:`panic
         mode<arch_overview_load_balancing_panic_threshold>`. Instead, the cluster will fail all
         requests as if all hosts are unhealthy. This can help avoid potentially overwhelming a
         failing service.
         
        bool fail_traffic_on_panic = 3;
        Returns:
        The failTrafficOnPanic.