com.baidu.driver4j.bns
接口 InstanceQuery

所有已知实现类:
BNSProxy, BNSQueryProxy

public interface InstanceQuery

BNS query instances interface

从以下版本开始:
1.3.0
作者:
xiemalin

方法摘要
 List<Instance> queryInstances(String serviceName)
          服务(组)实例信息查询
 

方法详细信息

queryInstances

List<Instance> queryInstances(String serviceName)
                              throws BNSException
服务(组)实例信息查询

参数:
serviceName - 服务(组名称
enabledOnly - if true only get enabled instance
返回:
实例对象
抛出:
BNSException - in case of access BNS service failed


Copyright © 2016. All rights reserved.