public interface ServerDiscoveryService
| 限定符和类型 | 方法和说明 |
|---|---|
WorkerAppInfo |
assertApp()
鉴权 & 附带信息下发
|
String |
getCurrentServerAddress()
获取当前的 server 地址
|
void |
timingCheck(ScheduledExecutorService timingPool)
定时检查
|
WorkerAppInfo assertApp()
String getCurrentServerAddress()
void timingCheck(ScheduledExecutorService timingPool)
timingPool - timingPoolCopyright © 2024. All rights reserved.