类 ProviderConsumerRegTable
- java.lang.Object
-
- com.alibaba.dubbo.registry.support.ProviderConsumerRegTable
-
public class ProviderConsumerRegTable extends Object
-
-
字段概要
字段 修饰符和类型 字段 说明 static ConcurrentHashMap<String,Set<ConsumerInvokerWrapper>>
consumerInvokers
static ConcurrentHashMap<String,Set<ProviderInvokerWrapper>>
providerInvokers
-
构造器概要
构造器 构造器 说明 ProviderConsumerRegTable()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static Set<ConsumerInvokerWrapper>
getConsumerInvoker(String serviceUniqueName)
static Set<ProviderInvokerWrapper>
getProviderInvoker(String serviceUniqueName)
static ProviderInvokerWrapper
getProviderWrapper(Invoker invoker)
static void
registerConsumer(Invoker invoker, URL registryUrl, URL consumerUrl, RegistryDirectory registryDirectory)
static void
registerProvider(Invoker invoker, URL registryUrl, URL providerUrl)
-
-
-
字段详细资料
-
providerInvokers
public static ConcurrentHashMap<String,Set<ProviderInvokerWrapper>> providerInvokers
-
consumerInvokers
public static ConcurrentHashMap<String,Set<ConsumerInvokerWrapper>> consumerInvokers
-
-
方法详细资料
-
registerProvider
public static void registerProvider(Invoker invoker, URL registryUrl, URL providerUrl)
-
getProviderInvoker
public static Set<ProviderInvokerWrapper> getProviderInvoker(String serviceUniqueName)
-
getProviderWrapper
public static ProviderInvokerWrapper getProviderWrapper(Invoker invoker)
-
registerConsumer
public static void registerConsumer(Invoker invoker, URL registryUrl, URL consumerUrl, RegistryDirectory registryDirectory)
-
getConsumerInvoker
public static Set<ConsumerInvokerWrapper> getConsumerInvoker(String serviceUniqueName)
-
-