@Extension(value="dubbo") public class DubboConsumerBootstrap<T> extends ConsumerBootstrap<T>
| 限定符和类型 | 字段和说明 |
|---|---|
protected T |
proxyIns
代理实现类
|
consumerConfig| 限定符 | 构造器和说明 |
|---|---|
protected |
DubboConsumerBootstrap(ConsumerConfig<T> consumerConfig)
构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
Cluster |
getCluster()
得到调用集群
|
T |
getProxyIns()
得到实现代理类
|
boolean |
isSubscribed()
是否已经订阅完毕
|
T |
refer()
Refer t.
|
List<ProviderGroup> |
subscribe()
订阅服务列表
|
void |
unRefer()
unRefer void.
|
getConsumerConfigprotected transient volatile T proxyIns
protected DubboConsumerBootstrap(ConsumerConfig<T> consumerConfig)
consumerConfig - 服务消费者配置public T refer()
refer 在类中 ConsumerBootstrap<T>SofaRpcRuntimeException - the init error exceptionpublic void unRefer()
unRefer 在类中 ConsumerBootstrap<T>public Cluster getCluster()
ConsumerBootstrapgetCluster 在类中 ConsumerBootstrap<T>public List<ProviderGroup> subscribe()
ConsumerBootstrapsubscribe 在类中 ConsumerBootstrap<T>public boolean isSubscribed()
ConsumerBootstrapisSubscribed 在类中 ConsumerBootstrap<T>public T getProxyIns()
getProxyIns 在类中 ConsumerBootstrap<T>Copyright © 2008–2018 The Ant Financial. All rights reserved.