接口 DestinationRuleOuterClass.LocalityLoadBalancerSettingOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
DestinationRuleOuterClass.LocalityLoadBalancerSetting, DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder
封闭类:
DestinationRuleOuterClass

public static interface DestinationRuleOuterClass.LocalityLoadBalancerSettingOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法详细资料

    • 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

       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

       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

       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

       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

       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

       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

       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;