| 构造器和说明 |
|---|
RandomByWeight() |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<Instance> |
selectAll(ServiceInfo serviceInfo)
Select all instance.
|
static Instance |
selectHost(ServiceInfo dom)
Random select one instance from service.
|
public static List<Instance> selectAll(ServiceInfo serviceInfo)
serviceInfo - service informationpublic static Instance selectHost(ServiceInfo dom)
dom - serviceCopyright © 2018–2023 Alibaba Group. All rights reserved.