类 ClientWorker.ConfigRpcTransportClient

java.lang.Object
com.alibaba.nacos.client.config.impl.ConfigTransportClient
com.alibaba.nacos.client.config.impl.ClientWorker.ConfigRpcTransportClient
封闭类:
ClientWorker

public class ClientWorker.ConfigRpcTransportClient extends ConfigTransportClient
  • 构造器详细资料

    • ConfigRpcTransportClient

      public ConfigRpcTransportClient(com.alibaba.nacos.client.env.NacosClientProperties properties, ConfigServerListManager serverListManager)
  • 方法详细资料

    • shutdown

      public void shutdown() throws com.alibaba.nacos.api.exception.NacosException
      覆盖:
      shutdown 在类中 ConfigTransportClient
      抛出:
      com.alibaba.nacos.api.exception.NacosException
    • startInternal

      public void startInternal()
      从类复制的说明: ConfigTransportClient
      start client inner.
      指定者:
      startInternal 在类中 ConfigTransportClient
    • getName

      public String getName()
      从类复制的说明: ConfigTransportClient
      get client name.
      指定者:
      getName 在类中 ConfigTransportClient
      返回:
      name.
    • notifyListenConfig

      public void notifyListenConfig()
      从类复制的说明: ConfigTransportClient
      notify listen config.
      指定者:
      notifyListenConfig 在类中 ConfigTransportClient
    • executeConfigListen

      public void executeConfigListen() throws com.alibaba.nacos.api.exception.NacosException
      从类复制的说明: ConfigTransportClient
      listen change .
      指定者:
      executeConfigListen 在类中 ConfigTransportClient
      抛出:
      com.alibaba.nacos.api.exception.NacosException - nacos exception throws, should retry.
    • checkLocalConfig

      public void checkLocalConfig(CacheData cacheData)
      Checks and handles local configuration for a given CacheData object. This method evaluates the use of failover files for local configuration storage and updates the CacheData accordingly.
      参数:
      cacheData - The CacheData object to be processed.
    • removeCache

      public void removeCache(String dataId, String group)
      从类复制的说明: ConfigTransportClient
      remove cache implements.
      指定者:
      removeCache 在类中 ConfigTransportClient
      参数:
      dataId - dataId.
      group - group
    • queryConfig

      public ConfigResponse queryConfig(String dataId, String group, String tenant, long readTimeouts, boolean notify) throws com.alibaba.nacos.api.exception.NacosException
      从类复制的说明: ConfigTransportClient
      query config.
      指定者:
      queryConfig 在类中 ConfigTransportClient
      参数:
      dataId - dataId.
      group - group.
      tenant - tenat.
      readTimeouts - readTimeous.
      notify - query for notify sync.
      返回:
      content.
      抛出:
      com.alibaba.nacos.api.exception.NacosException - throw where query fail .
    • publishConfig

      public boolean publishConfig(String dataId, String group, String tenant, String appName, String tag, String betaIps, String content, String encryptedDataKey, String casMd5, String type) throws com.alibaba.nacos.api.exception.NacosException
      从类复制的说明: ConfigTransportClient
      publish config.
      指定者:
      publishConfig 在类中 ConfigTransportClient
      参数:
      dataId - dataId.
      group - group.
      tenant - tenant.
      appName - appName.
      tag - tag.
      betaIps - betaIps.
      content - content.
      encryptedDataKey - encryptedDataKey
      casMd5 - casMd5.
      type - type.
      返回:
      success or not.
      抛出:
      com.alibaba.nacos.api.exception.NacosException - throw where publish fail.
    • removeConfig

      public boolean removeConfig(String dataId, String group, String tenant, String tag) throws com.alibaba.nacos.api.exception.NacosException
      从类复制的说明: ConfigTransportClient
      remove config.
      指定者:
      removeConfig 在类中 ConfigTransportClient
      参数:
      dataId - dataid.
      group - group.
      tenant - tenat.
      tag - tag.
      返回:
      success or not.
      抛出:
      com.alibaba.nacos.api.exception.NacosException - throw where publish fail.
    • isHealthServer

      public boolean isHealthServer()
      check server is health.
      返回:
    • isAbilitySupportedByServer

      public boolean isAbilitySupportedByServer(com.alibaba.nacos.api.ability.constant.AbilityKey abilityKey)
      Determine whether nacos-server supports the capability.
      参数:
      abilityKey - ability key
      返回:
      true if supported, otherwise false