|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface SelectionStrategy
This interface is used to BNS query service to decide how select only one result to return
BNSQueryAgentProxy#getInstanceByService(String)| 字段摘要 | |
|---|---|
static int |
SELECTED
value to determine this one must selected |
| 方法摘要 | |
|---|---|
int |
deciding(Instance instance)
Returns 0~100 value for each Instance. if return less than 0, then return 0 if return great than 100 then return 100. |
| 字段详细信息 |
|---|
static final int SELECTED
| 方法详细信息 |
|---|
int deciding(Instance instance)
Instance. if return less than 0, then return 0
instance - Instance to decide if should selected
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||