接口 DestinationRuleOuterClass.LocalityLoadBalancerSettingOrBuilder

    • 方法详细资料

      • getDistributeList

        java.util.List<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute> getDistributeList()
         Optional: only one of distribute or failover can be set.
         Explicitly specify loadbalancing weight across different zones and geographical locations.
         Refer to [Locality weighted load balancing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight)
         If empty, the locality weight is set according to the endpoints number within it.
         
        repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Distribute distribute = 1;
      • getDistribute

        DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute getDistribute​(int index)
         Optional: only one of distribute or failover can be set.
         Explicitly specify loadbalancing weight across different zones and geographical locations.
         Refer to [Locality weighted load balancing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight)
         If empty, the locality weight is set according to the endpoints number within it.
         
        repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Distribute distribute = 1;
      • getDistributeCount

        int getDistributeCount()
         Optional: only one of distribute or failover can be set.
         Explicitly specify loadbalancing weight across different zones and geographical locations.
         Refer to [Locality weighted load balancing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight)
         If empty, the locality weight is set according to the endpoints number within it.
         
        repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Distribute distribute = 1;
      • getDistributeOrBuilderList

        java.util.List<? extends DestinationRuleOuterClass.LocalityLoadBalancerSetting.DistributeOrBuilder> getDistributeOrBuilderList()
         Optional: only one of distribute or failover can be set.
         Explicitly specify loadbalancing weight across different zones and geographical locations.
         Refer to [Locality weighted load balancing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight)
         If empty, the locality weight is set according to the endpoints number within it.
         
        repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Distribute distribute = 1;
      • getDistributeOrBuilder

        DestinationRuleOuterClass.LocalityLoadBalancerSetting.DistributeOrBuilder getDistributeOrBuilder​(int index)
         Optional: only one of distribute or failover can be set.
         Explicitly specify loadbalancing weight across different zones and geographical locations.
         Refer to [Locality weighted load balancing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight)
         If empty, the locality weight is set according to the endpoints number within it.
         
        repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Distribute distribute = 1;
      • getFailoverList

        java.util.List<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover> getFailoverList()
         Optional: only failover or distribute can be set.
         Explicitly specify the region traffic will land on when endpoints in local region becomes unhealthy.
         Should be used together with OutlierDetection to detect unhealthy endpoints.
         Note: if no OutlierDetection specified, this will not take effect.
         
        repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Failover failover = 2;
      • getFailover

        DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover getFailover​(int index)
         Optional: only failover or distribute can be set.
         Explicitly specify the region traffic will land on when endpoints in local region becomes unhealthy.
         Should be used together with OutlierDetection to detect unhealthy endpoints.
         Note: if no OutlierDetection specified, this will not take effect.
         
        repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Failover failover = 2;
      • getFailoverCount

        int getFailoverCount()
         Optional: only failover or distribute can be set.
         Explicitly specify the region traffic will land on when endpoints in local region becomes unhealthy.
         Should be used together with OutlierDetection to detect unhealthy endpoints.
         Note: if no OutlierDetection specified, this will not take effect.
         
        repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Failover failover = 2;
      • getFailoverOrBuilderList

        java.util.List<? extends DestinationRuleOuterClass.LocalityLoadBalancerSetting.FailoverOrBuilder> getFailoverOrBuilderList()
         Optional: only failover or distribute can be set.
         Explicitly specify the region traffic will land on when endpoints in local region becomes unhealthy.
         Should be used together with OutlierDetection to detect unhealthy endpoints.
         Note: if no OutlierDetection specified, this will not take effect.
         
        repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Failover failover = 2;
      • getFailoverOrBuilder

        DestinationRuleOuterClass.LocalityLoadBalancerSetting.FailoverOrBuilder getFailoverOrBuilder​(int index)
         Optional: only failover or distribute can be set.
         Explicitly specify the region traffic will land on when endpoints in local region becomes unhealthy.
         Should be used together with OutlierDetection to detect unhealthy endpoints.
         Note: if no OutlierDetection specified, this will not take effect.
         
        repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Failover failover = 2;
      • hasEnabled

        boolean hasEnabled()
         enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety.
         e.g. true means that turn on locality load balancing for this DestinationRule no matter what mesh wide settings is.
         
        .google.protobuf.BoolValue enabled = 3;
        返回:
        Whether the enabled field is set.
      • getEnabled

        com.google.protobuf.BoolValue getEnabled()
         enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety.
         e.g. true means that turn on locality load balancing for this DestinationRule no matter what mesh wide settings is.
         
        .google.protobuf.BoolValue enabled = 3;
        返回:
        The enabled.
      • getEnabledOrBuilder

        com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder()
         enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety.
         e.g. true means that turn on locality load balancing for this DestinationRule no matter what mesh wide settings is.
         
        .google.protobuf.BoolValue enabled = 3;