@SPI public interface SubscribedURLsSynthesizer extends Prioritized
URLsCOMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| Modifier and Type | Method and Description |
|---|---|
boolean |
supports(URL subscribedURL)
Supports the synthesis of the subscribed
URLs or not |
List<URL> |
synthesize(URL subscribedURL,
Collection<ServiceInstance> serviceInstances)
synthesize the subscribed
URLs |
compareTo, getPriorityboolean supports(URL subscribedURL)
URLs or notsubscribedURL - the original subscribed URL from the execution of`
RegistryService.subscribe(URL, NotifyListener) methodtrue, or falseList<URL> synthesize(URL subscribedURL, Collection<ServiceInstance> serviceInstances)
URLssubscribedURL - the original subscribed URL from the execution of`
RegistryService.subscribe(URL, NotifyListener) methodserviceInstances - Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.