Interface Selector<T>
- Type Parameters:
T- 选择对象类型
- All Known Implementing Classes:
IncrementSelector,RandomSelector,SmoothWeightSelector,WeightRandomSelector
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
选择器接口 用于抽象负载均衡策略中的选择方式
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
-
Method Details
-
select
T select()选择下一个对象- Returns:
- 下一个对象
-