public interface APIConfig extends Verifier
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBindIf()
获取监听的网卡名
|
String |
getBindIP()
获取监听的IP地址
|
int |
getMaxRetryTimes()
最大重试次数,设置为0则不重试,默认10次
|
long |
getReportInterval()
客户端上报周期,默认30s
|
long |
getRetryInterval()
调用失败后,自动重试的时间间隔,默认5ms
|
long |
getTimeout()
services.global.api.timeout
默认调用超时时间
|
setDefault, verifylong getTimeout()
int getMaxRetryTimes()
long getRetryInterval()
String getBindIf()
String getBindIP()
long getReportInterval()
Copyright © 2022. All rights reserved.