接口 GrpcClientConfig
-
- 所有超级接口:
RpcClientConfig
- 所有已知实现类:
DefaultGrpcClientConfig
public interface GrpcClientConfig extends RpcClientConfig
GrpcCleint config. Use to collect and init Grpc client configuration.- 作者:
- karsonto
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 intchannelKeepAlive()get channelKeepAlive time.intmaxInboundMessageSize()get maxInboundMessage size.longserverCheckTimeOut()get server check time out.intthreadPoolCoreSize()get threadPoolCoreSize.longthreadPoolKeepAlive()get thread pool keep alive time.intthreadPoolMaxSize()get threadPoolMaxSize.intthreadPoolQueueSize()get thread pool queue size.-
从接口继承的方法 com.alibaba.nacos.common.remote.client.RpcClientConfig
connectionKeepAlive, healthCheckRetryTimes, healthCheckTimeOut, labels, name, retryTimes, timeOutMills
-
-
-
-
方法详细资料
-
threadPoolCoreSize
int threadPoolCoreSize()
get threadPoolCoreSize.- 返回:
- threadPoolCoreSize.
-
threadPoolMaxSize
int threadPoolMaxSize()
get threadPoolMaxSize.- 返回:
- threadPoolMaxSize.
-
threadPoolKeepAlive
long threadPoolKeepAlive()
get thread pool keep alive time.- 返回:
- threadPoolKeepAlive.
-
serverCheckTimeOut
long serverCheckTimeOut()
get server check time out.- 返回:
- serverCheckTimeOut.
-
threadPoolQueueSize
int threadPoolQueueSize()
get thread pool queue size.- 返回:
- threadPoolQueueSize.
-
maxInboundMessageSize
int maxInboundMessageSize()
get maxInboundMessage size.- 返回:
- maxInboundMessageSize.
-
channelKeepAlive
int channelKeepAlive()
get channelKeepAlive time.- 返回:
- channelKeepAlive.
-
-