类 DefaultGrpcClientConfig
java.lang.Object
com.alibaba.nacos.common.remote.client.grpc.DefaultGrpcClientConfig
- 所有已实现的接口:
GrpcClientConfig,RpcClientConfig
Default grpc client config.
- 作者:
- karsonto
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明longget timeout of connection setup(TimeUnit.MILLISECONDS).intget channelKeepAlive time.longget channelKeepAliveTimeout.longget connection keep alive time.intget health check retry times.longget health check time out.labels()get map of labels.intget maxInboundMessage size.name()get name.intget request retry times.longget server check time out.voidSet name of client.voidsetTlsConfig(RpcClientTlsConfig tlsConfig) Set TlsConfig.intget threadPoolCoreSize.longget thread pool keep alive time.intget threadPoolMaxSize.intget thread pool queue size.longget time out mills.getTlsConfig.
-
方法详细资料
-
name
从接口复制的说明:RpcClientConfigget name.- 指定者:
name在接口中RpcClientConfig- 返回:
- name.
-
retryTimes
public int retryTimes()从接口复制的说明:RpcClientConfigget request retry times.- 指定者:
retryTimes在接口中RpcClientConfig- 返回:
- retryTimes.
-
timeOutMills
public long timeOutMills()从接口复制的说明:RpcClientConfigget time out mills.- 指定者:
timeOutMills在接口中RpcClientConfig- 返回:
- timeOutMills.
-
connectionKeepAlive
public long connectionKeepAlive()从接口复制的说明:RpcClientConfigget connection keep alive time.- 指定者:
connectionKeepAlive在接口中RpcClientConfig- 返回:
- connectionKeepAlive.
-
threadPoolCoreSize
public int threadPoolCoreSize()从接口复制的说明:GrpcClientConfigget threadPoolCoreSize.- 指定者:
threadPoolCoreSize在接口中GrpcClientConfig- 返回:
- threadPoolCoreSize.
-
threadPoolMaxSize
public int threadPoolMaxSize()从接口复制的说明:GrpcClientConfigget threadPoolMaxSize.- 指定者:
threadPoolMaxSize在接口中GrpcClientConfig- 返回:
- threadPoolMaxSize.
-
threadPoolKeepAlive
public long threadPoolKeepAlive()从接口复制的说明:GrpcClientConfigget thread pool keep alive time.- 指定者:
threadPoolKeepAlive在接口中GrpcClientConfig- 返回:
- threadPoolKeepAlive.
-
serverCheckTimeOut
public long serverCheckTimeOut()从接口复制的说明:GrpcClientConfigget server check time out.- 指定者:
serverCheckTimeOut在接口中GrpcClientConfig- 返回:
- serverCheckTimeOut.
-
threadPoolQueueSize
public int threadPoolQueueSize()从接口复制的说明:GrpcClientConfigget thread pool queue size.- 指定者:
threadPoolQueueSize在接口中GrpcClientConfig- 返回:
- threadPoolQueueSize.
-
maxInboundMessageSize
public int maxInboundMessageSize()从接口复制的说明:GrpcClientConfigget maxInboundMessage size.- 指定者:
maxInboundMessageSize在接口中GrpcClientConfig- 返回:
- maxInboundMessageSize.
-
channelKeepAlive
public int channelKeepAlive()从接口复制的说明:GrpcClientConfigget channelKeepAlive time.- 指定者:
channelKeepAlive在接口中GrpcClientConfig- 返回:
- channelKeepAlive.
-
channelKeepAliveTimeout
public long channelKeepAliveTimeout()从接口复制的说明:GrpcClientConfigget channelKeepAliveTimeout.- 指定者:
channelKeepAliveTimeout在接口中GrpcClientConfig- 返回:
- channelKeepAliveTimeout.
-
tlsConfig
从接口复制的说明:GrpcClientConfiggetTlsConfig.- 指定者:
tlsConfig在接口中GrpcClientConfig- 返回:
- TlsConfig.
-
setTlsConfig
从接口复制的说明:GrpcClientConfigSet TlsConfig.- 指定者:
setTlsConfig在接口中GrpcClientConfig- 参数:
tlsConfig- tlsConfig of client.
-
setName
从接口复制的说明:GrpcClientConfigSet name of client.- 指定者:
setName在接口中GrpcClientConfig- 参数:
name- name of client.
-
capabilityNegotiationTimeout
public long capabilityNegotiationTimeout()从接口复制的说明:GrpcClientConfigget timeout of connection setup(TimeUnit.MILLISECONDS).- 指定者:
capabilityNegotiationTimeout在接口中GrpcClientConfig- 返回:
- timeout of connection setup
-
healthCheckRetryTimes
public int healthCheckRetryTimes()从接口复制的说明:RpcClientConfigget health check retry times.- 指定者:
healthCheckRetryTimes在接口中RpcClientConfig- 返回:
- healthCheckRetryTimes.
-
healthCheckTimeOut
public long healthCheckTimeOut()从接口复制的说明:RpcClientConfigget health check time out.- 指定者:
healthCheckTimeOut在接口中RpcClientConfig- 返回:
- healthCheckTimeOut.
-
labels
从接口复制的说明:RpcClientConfigget map of labels.- 指定者:
labels在接口中RpcClientConfig- 返回:
- labels.
-
newBuilder
-