接口 LoadBalancerAlgorithm
- 所有超级接口:
org.springframework.core.Ordered
- 所有已知实现类:
DefaultLoadBalancerAlgorithm
public interface LoadBalancerAlgorithm
extends org.springframework.core.Ordered
Load Balancer algorithm interface.
When expanding the load balancing algorithm, implement this interface and register it as a bean.
- 作者:
- zhangbinhub
-
字段概要
字段从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
方法概要
修饰符和类型方法说明org.springframework.cloud.client.ServiceInstancegetInstance(org.springframework.cloud.client.loadbalancer.Request<?> request, List<org.springframework.cloud.client.ServiceInstance> serviceInstances) 从接口继承的方法 org.springframework.core.Ordered
getOrder
-
字段详细资料
-
DEFAULT_SERVICE_ID
default service id.- 另请参阅:
-
-
方法详细资料