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 encryptedDataKey,
String casMd5,
String type)
publish config.
|
ConfigResponse |
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 |
shutdown() |
void |
startInternal()
start client inner.
|
getAccessToken, getCommonHeader, getEncode, getSecurityHeaders, getSpasHeaders, getTenant, setExecutor, startpublic ConfigRpcTransportClient(Properties properties, ServerListManager serverListManager)
public void shutdown()
shutdown 在类中 ConfigTransportClientpublic 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 ConfigResponse 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 encryptedDataKey, String casMd5, String type) throws NacosException
ConfigTransportClientpublishConfig 在类中 ConfigTransportClientdataId - dataId.group - group.tenant - tenant.appName - appName.tag - tag.betaIps - betaIps.content - content.encryptedDataKey - encryptedDataKeycasMd5 - casMd5.type - type.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–2022 Alibaba Group. All rights reserved.