public class ZoneAvoidancePredicate extends AbstractServerPredicate
ZoneAwareLoadBalancer.rule| Constructor and Description |
|---|
ZoneAvoidancePredicate(IRule rule,
com.netflix.client.config.IClientConfig clientConfig) |
ZoneAvoidancePredicate(LoadBalancerStats lbStats,
com.netflix.client.config.IClientConfig clientConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(PredicateKey input) |
alwaysTrue, chooseRandomlyAfterFiltering, chooseRandomlyAfterFiltering, chooseRoundRobinAfterFiltering, chooseRoundRobinAfterFiltering, getEligibleServers, getEligibleServers, getLBStats, getServerOnlyPredicate, ofKeyPredicate, ofServerPredicate, setLoadBalancerStatspublic ZoneAvoidancePredicate(IRule rule, com.netflix.client.config.IClientConfig clientConfig)
public ZoneAvoidancePredicate(LoadBalancerStats lbStats, com.netflix.client.config.IClientConfig clientConfig)
public boolean apply(@Nullable
PredicateKey input)