public class GenearalServiceSubscribeHandler extends AbstractServiceSubscribeHandler
listener, logger, registry, url| Constructor and Description |
|---|
GenearalServiceSubscribeHandler(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener,
DubboCloudRegistry registry,
DubboServiceMetadataRepository repository,
JSONUtils jsonUtils,
DubboMetadataServiceProxy dubboMetadataConfigServiceProxy) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAppNameWithRevision(String appName,
String revision) |
void |
doInit() |
void |
init(String appName,
String revision,
List<org.springframework.cloud.client.ServiceInstance> instanceList) |
void |
refresh() |
boolean |
relatedWith(String appName,
String revision) |
void |
removeAppNameWithRevision(String appName,
String revision) |
init, notifyAllSubscribedURLspublic GenearalServiceSubscribeHandler(org.apache.dubbo.common.URL url,
org.apache.dubbo.registry.NotifyListener listener,
DubboCloudRegistry registry,
DubboServiceMetadataRepository repository,
JSONUtils jsonUtils,
DubboMetadataServiceProxy dubboMetadataConfigServiceProxy)
public void doInit()
doInit in class AbstractServiceSubscribeHandlerpublic void init(String appName, String revision, List<org.springframework.cloud.client.ServiceInstance> instanceList)
public void refresh()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.