public class ClientWorker extends Object implements org.springframework.beans.factory.DisposableBean
| 构造器和说明 |
|---|
ClientWorker(HttpAgent httpAgent,
String identify,
ServerHealthCheck serverHealthCheck,
String version,
ClientShutdown hippo4jClientShutdown) |
| 限定符和类型 | 方法和说明 |
|---|---|
CacheData |
addCacheDataIfAbsent(String namespace,
String itemId,
String threadPoolId) |
void |
addTenantListeners(String namespace,
String itemId,
String threadPoolId,
List<? extends Listener> listeners) |
List<String> |
checkUpdateTpIds(String probeUpdateString,
boolean isInitializingCacheList) |
void |
destroy() |
String |
getServerConfig(String namespace,
String itemId,
String threadPoolId,
long readTimeout) |
void |
notifyApplicationComplete() |
List<String> |
parseUpdateDataIdResponse(String response) |
public ClientWorker(HttpAgent httpAgent, String identify, ServerHealthCheck serverHealthCheck, String version, ClientShutdown hippo4jClientShutdown)
public void destroy()
throws Exception
destroy 在接口中 org.springframework.beans.factory.DisposableBeanExceptionpublic List<String> checkUpdateTpIds(String probeUpdateString, boolean isInitializingCacheList)
public String getServerConfig(String namespace, String itemId, String threadPoolId, long readTimeout)
public void addTenantListeners(String namespace, String itemId, String threadPoolId, List<? extends Listener> listeners)
public CacheData addCacheDataIfAbsent(String namespace, String itemId, String threadPoolId)
public void notifyApplicationComplete()
Copyright © 2023. All rights reserved.