public class ClientWorker.ConfigRpcTransportClient extends ConfigTransportClient
secretKey, securityProxy| 构造器和说明 |
|---|
ConfigRpcTransportClient(Properties properties,
ServerListManager serverListManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
executeConfigListen()
listen change .
|
String |
getName()
get client name.
|
void |
notifyListenConfig()
notify listen config.
|
boolean |
publishConfig(String dataId,
String group,
String tenant,
String appName,
String tag,
String betaIps,
String content,
String casMd5)
publish config.
|
String[] |
queryConfig(String dataId,
String group,
String tenant,
long readTimeouts,
boolean notify)
query config.
|
void |
removeCache(String dataId,
String group)
remove cache implements.
|
boolean |
removeConfig(String dataId,
String group,
String tenant,
String tag)
remove config.
|
void |
startInternal()
start client inner.
|
getAccessToken, getCommonHeader, getEncode, getSecurityHeaders, getSpasHeaders, getTenant, setExecutor, startpublic ConfigRpcTransportClient(Properties properties, ServerListManager serverListManager)
public void startInternal()
throws NacosException
ConfigTransportClientstartInternal 在类中 ConfigTransportClientNacosException - exception may throw.public String getName()
ConfigTransportClientgetName 在类中 ConfigTransportClientpublic void notifyListenConfig()
ConfigTransportClientnotifyListenConfig 在类中 ConfigTransportClientpublic void executeConfigListen()
ConfigTransportClientexecuteConfigListen 在类中 ConfigTransportClientpublic void removeCache(String dataId, String group)
ConfigTransportClientremoveCache 在类中 ConfigTransportClientdataId - dataId.group - grouppublic String[] queryConfig(String dataId, String group, String tenant, long readTimeouts, boolean notify) throws NacosException
ConfigTransportClientqueryConfig 在类中 ConfigTransportClientdataId - dataId.group - group.tenant - tenat.readTimeouts - readTimeous.notify - query for notify sync.NacosException - throw where query fail .public boolean publishConfig(String dataId, String group, String tenant, String appName, String tag, String betaIps, String content, String casMd5) throws NacosException
ConfigTransportClientpublishConfig 在类中 ConfigTransportClientdataId - dataId.group - group.tenant - tenant.appName - appName.tag - tag.betaIps - betaIps.content - content.casMd5 - casMd5.NacosException - throw where publish fail.public boolean removeConfig(String dataId, String group, String tenant, String tag) throws NacosException
ConfigTransportClientremoveConfig 在类中 ConfigTransportClientdataId - dataid.group - group.tenant - tenat.tag - tag.NacosException - throw where publish fail.Copyright © 2018–2021 Alibaba Group. All rights reserved.