public class DiscoveryEnabledZoneAvoidancePredicate
extends com.netflix.loadbalancer.ZoneAvoidancePredicate
| 限定符和类型 | 字段和说明 |
|---|---|
protected DiscoveryEnabledAdapter |
discoveryEnabledAdapter |
protected PluginAdapter |
pluginAdapter |
| 构造器和说明 |
|---|
DiscoveryEnabledZoneAvoidancePredicate(com.netflix.loadbalancer.IRule rule,
com.netflix.client.config.IClientConfig clientConfig) |
DiscoveryEnabledZoneAvoidancePredicate(com.netflix.loadbalancer.LoadBalancerStats lbStats,
com.netflix.client.config.IClientConfig clientConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
apply(com.netflix.loadbalancer.PredicateKey input) |
protected boolean |
apply(com.netflix.loadbalancer.Server server) |
void |
setDiscoveryEnabledAdapter(DiscoveryEnabledAdapter discoveryEnabledAdapter) |
void |
setPluginAdapter(PluginAdapter pluginAdapter) |
alwaysTrue, chooseRandomlyAfterFiltering, chooseRandomlyAfterFiltering, chooseRoundRobinAfterFiltering, chooseRoundRobinAfterFiltering, getEligibleServers, getEligibleServers, getLBStats, getServerOnlyPredicate, ofKeyPredicate, ofServerPredicate, setLoadBalancerStatsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, isEqual, negate, orprotected PluginAdapter pluginAdapter
protected DiscoveryEnabledAdapter discoveryEnabledAdapter
public DiscoveryEnabledZoneAvoidancePredicate(com.netflix.loadbalancer.IRule rule,
com.netflix.client.config.IClientConfig clientConfig)
public DiscoveryEnabledZoneAvoidancePredicate(com.netflix.loadbalancer.LoadBalancerStats lbStats,
com.netflix.client.config.IClientConfig clientConfig)
public boolean apply(com.netflix.loadbalancer.PredicateKey input)
apply 在类中 com.netflix.loadbalancer.ZoneAvoidancePredicateprotected boolean apply(com.netflix.loadbalancer.Server server)
public void setPluginAdapter(PluginAdapter pluginAdapter)
public void setDiscoveryEnabledAdapter(DiscoveryEnabledAdapter discoveryEnabledAdapter)
Copyright © 2021 Nepxion. All rights reserved.