public class ThreadPoolConfigService extends Object implements ConfigService, org.springframework.context.ApplicationListener<ApplicationCompleteEvent>
| 构造器和说明 |
|---|
ThreadPoolConfigService(HttpAgent httpAgent,
String identification,
ServerHealthCheck serverHealthCheck) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addListener(String tenantId,
String itemId,
String tpId,
Listener listener)
Add listener.
|
String |
getServerStatus()
Get server status.
|
void |
onApplicationEvent(ApplicationCompleteEvent event) |
public ThreadPoolConfigService(HttpAgent httpAgent, String identification, ServerHealthCheck serverHealthCheck)
public void addListener(String tenantId, String itemId, String tpId, Listener listener)
ConfigServiceaddListener 在接口中 ConfigServicepublic String getServerStatus()
ConfigServicegetServerStatus 在接口中 ConfigServicepublic void onApplicationEvent(ApplicationCompleteEvent event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<ApplicationCompleteEvent>Copyright © 2021. All rights reserved.