Class NacosMetadataReport
java.lang.Object
org.apache.dubbo.metadata.report.support.AbstractMetadataReport
org.apache.dubbo.metadata.store.nacos.NacosMetadataReport
- All Implemented Interfaces:
MetadataReport
metadata report impl for nacos
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.dubbo.metadata.report.support.AbstractMetadataReport
metadataReportRetry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(String key, String group, org.apache.dubbo.common.config.configcenter.ConfigurationListener listener) getAppMetadata(SubscriberMetadataIdentifier identifier, Map<String, String> instanceMetadata) org.apache.dubbo.common.config.configcenter.ConfigItemgetConfigItem(String key, String group) getServiceAppMapping(String serviceKey, org.apache.dubbo.common.URL url) getServiceAppMapping(String serviceKey, MappingListener listener, org.apache.dubbo.common.URL url) getServiceDefinition(MetadataIdentifier metadataIdentifier) voidpublishAppMetadata(SubscriberMetadataIdentifier identifier, MetadataInfo metadataInfo) booleanregisterServiceAppMapping(String key, String group, String content, Object ticket) voidremoveListener(String key, String group, org.apache.dubbo.common.config.configcenter.ConfigurationListener listener) voidremoveServiceAppMappingListener(String serviceKey, MappingListener listener) voidunPublishAppMetadata(SubscriberMetadataIdentifier identifier, MetadataInfo metadataInfo) Methods inherited from class org.apache.dubbo.metadata.report.support.AbstractMetadataReport
destroy, getExportedURLs, getSubscribedURLs, getUrl, removeServiceMetadata, retry, saveServiceMetadata, saveSubscribedData, shouldReportDefinition, shouldReportMetadata, storeConsumerMetadata, storeProviderMetadata, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.dubbo.metadata.report.MetadataReport
registerServiceAppMapping
-
Constructor Details
-
NacosMetadataReport
public NacosMetadataReport(org.apache.dubbo.common.URL url)
-
-
Method Details
-
publishAppMetadata
-
unPublishAppMetadata
public void unPublishAppMetadata(SubscriberMetadataIdentifier identifier, MetadataInfo metadataInfo) -
getAppMetadata
public MetadataInfo getAppMetadata(SubscriberMetadataIdentifier identifier, Map<String, String> instanceMetadata) -
getServiceDefinition
-
registerServiceAppMapping
-
getConfigItem
-
getServiceAppMapping
public Set<String> getServiceAppMapping(String serviceKey, MappingListener listener, org.apache.dubbo.common.URL url) -
removeServiceAppMappingListener
-
getServiceAppMapping
-
addListener
-
removeListener
-