public class DefaultGrpcClientConfig extends Object implements GrpcClientConfig
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DefaultGrpcClientConfig.Builder |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
capabilityNegotiationTimeout()
get timeout of connection setup(TimeUnit.MILLISECONDS).
|
int |
channelKeepAlive()
get channelKeepAlive time.
|
long |
channelKeepAliveTimeout()
get channelKeepAliveTimeout.
|
long |
connectionKeepAlive()
get connection keep alive time.
|
int |
healthCheckRetryTimes()
get health check retry times.
|
long |
healthCheckTimeOut()
get health check time out.
|
Map<String,String> |
labels()
get map of labels.
|
int |
maxInboundMessageSize()
get maxInboundMessage size.
|
String |
name()
get name.
|
static DefaultGrpcClientConfig.Builder |
newBuilder() |
int |
retryTimes()
get request retry times.
|
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.
|
long |
timeOutMills()
get time out mills.
|
TlsConfig |
tlsConfig()
getTlsConfig.
|
public String name()
RpcClientConfigname 在接口中 RpcClientConfigpublic int retryTimes()
RpcClientConfigretryTimes 在接口中 RpcClientConfigpublic long timeOutMills()
RpcClientConfigtimeOutMills 在接口中 RpcClientConfigpublic long connectionKeepAlive()
RpcClientConfigconnectionKeepAlive 在接口中 RpcClientConfigpublic int threadPoolCoreSize()
GrpcClientConfigthreadPoolCoreSize 在接口中 GrpcClientConfigpublic int threadPoolMaxSize()
GrpcClientConfigthreadPoolMaxSize 在接口中 GrpcClientConfigpublic long threadPoolKeepAlive()
GrpcClientConfigthreadPoolKeepAlive 在接口中 GrpcClientConfigpublic long serverCheckTimeOut()
GrpcClientConfigserverCheckTimeOut 在接口中 GrpcClientConfigpublic int threadPoolQueueSize()
GrpcClientConfigthreadPoolQueueSize 在接口中 GrpcClientConfigpublic int maxInboundMessageSize()
GrpcClientConfigmaxInboundMessageSize 在接口中 GrpcClientConfigpublic int channelKeepAlive()
GrpcClientConfigchannelKeepAlive 在接口中 GrpcClientConfigpublic long channelKeepAliveTimeout()
GrpcClientConfigchannelKeepAliveTimeout 在接口中 GrpcClientConfigpublic TlsConfig tlsConfig()
GrpcClientConfigtlsConfig 在接口中 GrpcClientConfigpublic void setTlsConfig(RpcClientTlsConfig tlsConfig)
GrpcClientConfigsetTlsConfig 在接口中 GrpcClientConfigtlsConfig - tlsConfig of client.public long capabilityNegotiationTimeout()
GrpcClientConfigcapabilityNegotiationTimeout 在接口中 GrpcClientConfigpublic int healthCheckRetryTimes()
RpcClientConfighealthCheckRetryTimes 在接口中 RpcClientConfigpublic long healthCheckTimeOut()
RpcClientConfighealthCheckTimeOut 在接口中 RpcClientConfigpublic Map<String,String> labels()
RpcClientConfiglabels 在接口中 RpcClientConfigpublic static DefaultGrpcClientConfig.Builder newBuilder()
Copyright © 2018–2024 Alibaba Group. All rights reserved.