public class RemoteWritableMetadataServiceDelegate extends Object implements WritableMetadataService
ALL_SERVICE_INTERFACES, ALL_SERVICE_NAMES, DEFAULT_EXTENSION, SERVICE_INTERFACE_NAME, VERSION| Constructor and Description |
|---|
RemoteWritableMetadataServiceDelegate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exportURL(org.apache.dubbo.common.URL url)
Exports a
URL |
SortedSet<String> |
getExportedURLs(String serviceInterface,
String group,
String version,
String protocol)
Get the sorted set of String that presents the specified Dubbo exported
urls by the
serviceInterface, group, version and protocol |
String |
getServiceDefinition(String serviceKey)
Interface definition.
|
String |
getServiceDefinition(String interfaceName,
String version,
String group)
Interface definition.
|
SortedSet<String> |
getSubscribedURLs()
the list of String that presents all Dubbo subscribed
urls |
void |
publishServiceDefinition(org.apache.dubbo.common.URL providerUrl) |
boolean |
refreshMetadata(String exportedRevision,
String subscribedRevision)
fresh Exports
|
boolean |
subscribeURL(org.apache.dubbo.common.URL url)
Subscribes a
URL |
boolean |
unexportURL(org.apache.dubbo.common.URL url)
Unexports a
URL |
boolean |
unsubscribeURL(org.apache.dubbo.common.URL url)
Unsubscribes a
URL |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultExtension, getExtension, serviceNamegetExportedURLs, getExportedURLs, getExportedURLs, getExportedURLs, isMetadataServiceURL, toSortedStrings, toSortedStrings, toURLs, versionpublic RemoteWritableMetadataServiceDelegate()
public boolean exportURL(org.apache.dubbo.common.URL url)
WritableMetadataServiceURLexportURL in interface WritableMetadataServiceurl - a URLtruepublic boolean unexportURL(org.apache.dubbo.common.URL url)
WritableMetadataServiceURLunexportURL in interface WritableMetadataServiceurl - a URLtruepublic boolean subscribeURL(org.apache.dubbo.common.URL url)
WritableMetadataServiceURLsubscribeURL in interface WritableMetadataServiceurl - a URLtruepublic boolean unsubscribeURL(org.apache.dubbo.common.URL url)
WritableMetadataServiceURLunsubscribeURL in interface WritableMetadataServiceurl - a URLtruepublic boolean refreshMetadata(String exportedRevision, String subscribedRevision)
WritableMetadataServicerefreshMetadata in interface WritableMetadataServicetruepublic void publishServiceDefinition(org.apache.dubbo.common.URL providerUrl)
publishServiceDefinition in interface WritableMetadataServicepublic SortedSet<String> getExportedURLs(String serviceInterface, String group, String version, String protocol)
MetadataServiceurls by the
serviceInterface, group, version and protocolgetExportedURLs in interface MetadataServiceserviceInterface - The class name of Dubbo service interfacegroup - the Dubbo Service Group (optional)version - the Dubbo Service Version (optional)protocol - the Dubbo Service Protocol (optional)sorted set of strings presenting the URLsMetadataService.toSortedStrings(Stream),
URL.toFullString()public SortedSet<String> getSubscribedURLs()
MetadataServiceurlsgetSubscribedURLs in interface MetadataServicesorted set of strings presenting the URLsMetadataService.toSortedStrings(Stream),
URL.toFullString()public String getServiceDefinition(String interfaceName, String version, String group)
MetadataServicegetServiceDefinition in interface MetadataServicepublic String getServiceDefinition(String serviceKey)
MetadataServicegetServiceDefinition in interface MetadataServiceCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.