接口 WritableMetadataService

    • 方法详细资料

      • exportURL

        boolean exportURL​(URL url)
        Exports a URL
        参数:
        url - a URL
        返回:
        If success , return true
      • unexportURL

        boolean unexportURL​(URL url)
        Unexports a URL
        参数:
        url - a URL
        返回:
        If success , return true
      • subscribeURL

        boolean subscribeURL​(URL url)
        Subscribes a URL
        参数:
        url - a URL
        返回:
        If success , return true
      • unsubscribeURL

        boolean unsubscribeURL​(URL url)
        Unsubscribes a URL
        参数:
        url - a URL
        返回:
        If success , return true
      • publishServiceDefinition

        void publishServiceDefinition​(URL providerUrl)
      • setMetadataServiceURL

        default void setMetadataServiceURL​(URL url)
      • getMetadataServiceURL

        default URL getMetadataServiceURL()
      • putCachedMapping

        void putCachedMapping​(String serviceKey,
                              Set<String> apps)
      • getCachedMapping

        Set<String> getCachedMapping​(URL consumerURL)
      • removeCachedMapping

        Set<String> removeCachedMapping​(String serviceKey)
      • getDefaultMetadataInfo

        MetadataInfo getDefaultMetadataInfo()