public interface MetadataReport extends AutoCloseable
since 2.7.8| 限定符和类型 | 方法和说明 |
|---|---|
default List<String> |
getExportedURLs(ServiceMetadataIdentifier metadataIdentifier)
已过时。
2.7.8
|
default SortedSet<String> |
getExportedURLs(String serviceName,
String exportedServicesRevision)
Get the
strings presenting the URLs that were exported by the provider |
default String |
getExportedURLsContent(String serviceName,
String exportedServicesRevision)
Get the
strings presenting the URLs that were exported by the provider |
String |
getServiceDefinition(MetadataIdentifier metadataIdentifier) |
Collection<String> |
getSubscribedURLs(SubscriberMetadataIdentifier subscriberMetadataIdentifier) |
default void |
removeServiceMetadata(ServiceMetadataIdentifier metadataIdentifier)
已过时。
2.7.8
|
default boolean |
saveExportedURLs(SortedSet<String> exportedURLs)
Save the exported
strings presenting the URLs in bulk. |
default boolean |
saveExportedURLs(String serviceName,
SortedSet<String> exportedURLs)
Save the exported
strings presenting the URLs in bulk. |
default boolean |
saveExportedURLs(String serviceName,
String exportedServicesRevision,
SortedSet<String> exportedURLs)
Save the exported
strings presenting the URLs in bulk. |
default boolean |
saveExportedURLs(String serviceName,
String exportedServicesRevision,
String exportedURLsContent)
Save the exported
strings presenting the URLs in bulk. |
default void |
saveServiceMetadata(ServiceMetadataIdentifier metadataIdentifier,
org.apache.dubbo.common.URL url)
已过时。
2.7.8
|
void |
saveSubscribedData(SubscriberMetadataIdentifier subscriberMetadataIdentifier,
Collection<String> urls) |
void |
storeConsumerMetadata(MetadataIdentifier consumerMetadataIdentifier,
Map<String,String> serviceParameterMap) |
void |
storeProviderMetadata(MetadataIdentifier providerMetadataIdentifier,
ServiceDefinition serviceDefinition) |
closevoid storeProviderMetadata(MetadataIdentifier providerMetadataIdentifier, ServiceDefinition serviceDefinition)
void storeConsumerMetadata(MetadataIdentifier consumerMetadataIdentifier, Map<String,String> serviceParameterMap)
@Deprecated default void saveServiceMetadata(ServiceMetadataIdentifier metadataIdentifier, org.apache.dubbo.common.URL url)
@Deprecated default void removeServiceMetadata(ServiceMetadataIdentifier metadataIdentifier)
@Deprecated default List<String> getExportedURLs(ServiceMetadataIdentifier metadataIdentifier)
void saveSubscribedData(SubscriberMetadataIdentifier subscriberMetadataIdentifier, Collection<String> urls)
Collection<String> getSubscribedURLs(SubscriberMetadataIdentifier subscriberMetadataIdentifier)
String getServiceDefinition(MetadataIdentifier metadataIdentifier)
default boolean saveExportedURLs(SortedSet<String> exportedURLs)
strings presenting the URLs in bulk.exportedURLs - the exported urlstrue, or falsedefault boolean saveExportedURLs(String serviceName, SortedSet<String> exportedURLs)
strings presenting the URLs in bulk.serviceName - the specified Dubbo service nameexportedURLs - the exported urlstrue, or falsedefault boolean saveExportedURLs(String serviceName, String exportedServicesRevision, SortedSet<String> exportedURLs)
strings presenting the URLs in bulk.serviceName - the specified Dubbo service nameexportedServicesRevision - the revision of the exported ServicesexportedURLs - the exported urlstrue, or falsedefault boolean saveExportedURLs(String serviceName, String exportedServicesRevision, String exportedURLsContent)
strings presenting the URLs in bulk.serviceName - the specified Dubbo service nameexportedServicesRevision - the revision of the exported ServicesexportedURLsContent - the content of the exported urlstrue, or falsedefault SortedSet<String> getExportedURLs(String serviceName, String exportedServicesRevision)
strings presenting the URLs that were exported by the providerserviceName - the specified Dubbo service nameexportedServicesRevision - the revision of the exported Servicesdefault String getExportedURLsContent(String serviceName, String exportedServicesRevision)
strings 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.