public interface GrpcClientConfig extends RpcClientConfig
| 限定符和类型 | 方法和说明 |
|---|---|
long |
capabilityNegotiationTimeout()
get timeout of connection setup(TimeUnit.MILLISECONDS).
|
int |
channelKeepAlive()
get channelKeepAlive time.
|
long |
channelKeepAliveTimeout()
get channelKeepAliveTimeout.
|
int |
maxInboundMessageSize()
get maxInboundMessage size.
|
long |
serverCheckTimeOut()
get server check time out.
|
void |
setTlsConfig(RpcClientTlsConfig tlsConfig)
Set TlsConfig.
|
int |
threadPoolCoreSize()
get threadPoolCoreSize.
|
long |
threadPoolKeepAlive()
get thread pool keep alive time.
|
int |
threadPoolMaxSize()
get threadPoolMaxSize.
|
int |
threadPoolQueueSize()
get thread pool queue size.
|
TlsConfig |
tlsConfig()
getTlsConfig.
|
connectionKeepAlive, healthCheckRetryTimes, healthCheckTimeOut, labels, name, retryTimes, timeOutMillsint threadPoolCoreSize()
int threadPoolMaxSize()
long threadPoolKeepAlive()
long serverCheckTimeOut()
int threadPoolQueueSize()
int maxInboundMessageSize()
int channelKeepAlive()
long channelKeepAliveTimeout()
TlsConfig tlsConfig()
void setTlsConfig(RpcClientTlsConfig tlsConfig)
tlsConfig - tlsConfig of client.long capabilityNegotiationTimeout()
Copyright © 2018–2024 Alibaba Group. All rights reserved.