public abstract class AbstractRouterDistributor<T extends com.netflix.loadbalancer.Server> extends Object implements RouterDistributor<T>
| Constructor and Description |
|---|
AbstractRouterDistributor() |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
distribute(String targetServiceName,
List<T> list,
PolicyRuleItem invokeRule) |
TagItem |
getFiltedServerTagItem(PolicyRuleItem rule,
String targetServiceName) |
List<T> |
getLatestVersionList(List<T> list,
String targetServiceName) |
void |
init() |
void |
initLatestVersion(String serviceName,
List<T> list) |
public List<T> distribute(String targetServiceName, List<T> list, PolicyRuleItem invokeRule)
distribute in interface RouterDistributor<T extends com.netflix.loadbalancer.Server>public void init()
init in interface RouterDistributor<T extends com.netflix.loadbalancer.Server>public TagItem getFiltedServerTagItem(PolicyRuleItem rule, String targetServiceName)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.