接口 SubscribedURLsSynthesizer
-
- 所有超级接口:
Comparable<Prioritized>,Prioritized
@SPI public interface SubscribedURLsSynthesizer extends Prioritized
The interface to synthesize the subscribedURLs- 从以下版本开始:
- 2.7.5
-
-
字段概要
-
从接口继承的字段 org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 booleansupports(URL subscribedURL)Supports the synthesis of the subscribedURLsor notList<URL>synthesize(URL subscribedURL, Collection<ServiceInstance> serviceInstances)synthesize the subscribedURLs-
从接口继承的方法 org.apache.dubbo.common.lang.Prioritized
compareTo, getPriority
-
-
-
-
方法详细资料
-
supports
boolean supports(URL subscribedURL)
Supports the synthesis of the subscribedURLsor not- 参数:
subscribedURL- the original subscribedURLfrom the execution of`RegistryService.subscribe(URL, NotifyListener)method- 返回:
- if supports, return
true, orfalse
-
synthesize
List<URL> synthesize(URL subscribedURL, Collection<ServiceInstance> serviceInstances)
synthesize the subscribedURLs- 参数:
subscribedURL- the original subscribedURLfrom the execution of`RegistryService.subscribe(URL, NotifyListener)methodserviceInstances-- 返回:
-
-