public class PowerJobServerDiscoveryService extends Object implements ServerDiscoveryService
| 构造器和说明 |
|---|
PowerJobServerDiscoveryService(PowerJobWorkerConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
WorkerAppInfo |
assertApp()
鉴权 & 附带信息下发
|
String |
getCurrentServerAddress()
获取当前的 server 地址
|
void |
timingCheck(ScheduledExecutorService timingPool)
定时检查
|
public PowerJobServerDiscoveryService(PowerJobWorkerConfig config)
public WorkerAppInfo assertApp()
ServerDiscoveryServiceassertApp 在接口中 ServerDiscoveryServicepublic String getCurrentServerAddress()
ServerDiscoveryServicegetCurrentServerAddress 在接口中 ServerDiscoveryServicepublic void timingCheck(ScheduledExecutorService timingPool)
ServerDiscoveryServicetimingCheck 在接口中 ServerDiscoveryServicetimingPool - timingPoolCopyright © 2024. All rights reserved.