public interface ServerConnectorConfig extends PluginConfig, Verifier
| 限定符和类型 | 方法和说明 |
|---|---|
List<String> |
getAddresses()
远端server地址
|
long |
getConnectionIdleTimeout()
空闲连接过期时间
|
long |
getConnectTimeout()
与server的连接超时时间
|
String |
getId()
Get id of server connector.
|
long |
getMessageTimeout()
获取消息等待最长超时时间
|
Map<String,String> |
getMetadata()
Get metadata map.
|
String |
getProtocol()
与server对接的协议,默认GRPC
|
long |
getReconnectInterval()
获取重连间隔
|
long |
getServerSwitchInterval()
server的切换时延
|
getPluginConfig, getPluginConfigssetDefault, verifyString getProtocol()
long getConnectTimeout()
long getServerSwitchInterval()
long getMessageTimeout()
long getConnectionIdleTimeout()
long getReconnectInterval()
String getId()
Copyright © 2022. All rights reserved.