public class ZookeeperMetadataReport extends AbstractMetadataReport
metadataReportRetry| Constructor and Description |
|---|
ZookeeperMetadataReport(org.apache.dubbo.common.URL url,
org.apache.dubbo.remoting.zookeeper.ZookeeperTransporter zookeeperTransporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
MetadataInfo |
getAppMetadata(SubscriberMetadataIdentifier identifier,
Map<String,String> instanceMetadata) |
org.apache.dubbo.common.config.configcenter.ConfigItem |
getConfigItem(String serviceKey,
String group) |
Set<String> |
getServiceAppMapping(String serviceKey,
MappingListener listener,
org.apache.dubbo.common.URL url) |
Set<String> |
getServiceAppMapping(String serviceKey,
org.apache.dubbo.common.URL url) |
String |
getServiceDefinition(MetadataIdentifier metadataIdentifier) |
void |
publishAppMetadata(SubscriberMetadataIdentifier identifier,
MetadataInfo metadataInfo) |
boolean |
registerServiceAppMapping(String key,
String group,
String content,
Object ticket) |
void |
removeServiceAppMappingListener(String serviceKey,
MappingListener listener) |
void |
unPublishAppMetadata(SubscriberMetadataIdentifier identifier,
MetadataInfo metadataInfo) |
getExportedURLs, getSubscribedURLs, getUrl, removeServiceMetadata, retry, saveServiceMetadata, saveSubscribedData, shouldReportDefinition, shouldReportMetadata, storeConsumerMetadata, storeProviderMetadata, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitregisterServiceAppMappingpublic ZookeeperMetadataReport(org.apache.dubbo.common.URL url,
org.apache.dubbo.remoting.zookeeper.ZookeeperTransporter zookeeperTransporter)
public String getServiceDefinition(MetadataIdentifier metadataIdentifier)
public void publishAppMetadata(SubscriberMetadataIdentifier identifier, MetadataInfo metadataInfo)
public void unPublishAppMetadata(SubscriberMetadataIdentifier identifier, MetadataInfo metadataInfo)
public MetadataInfo getAppMetadata(SubscriberMetadataIdentifier identifier, Map<String,String> instanceMetadata)
public Set<String> getServiceAppMapping(String serviceKey, MappingListener listener, org.apache.dubbo.common.URL url)
public void removeServiceAppMappingListener(String serviceKey, MappingListener listener)
public Set<String> getServiceAppMapping(String serviceKey, org.apache.dubbo.common.URL url)
public org.apache.dubbo.common.config.configcenter.ConfigItem getConfigItem(String serviceKey, String group)
public boolean registerServiceAppMapping(String key, String group, String content, Object ticket)
public void destroy()
destroy in interface MetadataReportdestroy in class AbstractMetadataReportCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.