public class ConfigCenterBasedMetadataReport extends AbstractMetadataReport
MetadataReport based on the config-center infrastructureAbstractMetadataReportmetadataReportRetry| 构造器和说明 |
|---|
ConfigCenterBasedMetadataReport(org.apache.dubbo.common.URL reportServerURL,
KeyTypeEnum keyTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getExportedURLsContent(String serviceName,
String exportedServicesRevision)
Get the
strings presenting the URLs that were exported by the provider |
String |
getServiceDefinition(MetadataIdentifier metadataIdentifier) |
boolean |
saveExportedURLs(String serviceName,
String exportedServicesRevision,
String exportedURLsContent)
Save the exported
strings presenting the URLs in bulk. |
close, getExportedURLs, getSubscribedURLs, getUrl, removeServiceMetadata, retry, saveServiceMetadata, saveSubscribedData, storeConsumerMetadata, storeConsumerMetadataTask, storeProviderMetadata, toStringgetExportedURLs, saveExportedURLs, saveExportedURLs, saveExportedURLspublic ConfigCenterBasedMetadataReport(org.apache.dubbo.common.URL reportServerURL,
KeyTypeEnum keyTypeEnum)
public String getServiceDefinition(MetadataIdentifier metadataIdentifier)
public boolean saveExportedURLs(String serviceName, String exportedServicesRevision, String exportedURLsContent)
MetadataReportstrings presenting the URLs in bulk.serviceName - the specified Dubbo service nameexportedServicesRevision - the revision of the exported ServicesexportedURLsContent - the content of the exported urlstrue, or falsepublic String getExportedURLsContent(String serviceName, String exportedServicesRevision)
MetadataReportstrings presenting the URLs that were exported by the providerserviceName - the specified Dubbo service nameexportedServicesRevision - the revision of the exported Servicesurls if found, or nullCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.