接口 GrpcClientConfig

所有超级接口:
RpcClientConfig
所有已知实现类:
DefaultGrpcClientConfig

public interface GrpcClientConfig extends RpcClientConfig
GrpcClient config. Use to collect and init Grpc client configuration.
作者:
karsonto
  • 方法详细资料

    • 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.
    • channelKeepAliveTimeout

      long channelKeepAliveTimeout()
      get channelKeepAliveTimeout.
      返回:
      channelKeepAliveTimeout.
    • tlsConfig

      TlsConfig tlsConfig()
      getTlsConfig.
      返回:
      TlsConfig.
    • setTlsConfig

      void setTlsConfig(RpcClientTlsConfig tlsConfig)
      Set TlsConfig.
      参数:
      tlsConfig - tlsConfig of client.
    • setName

      void setName(String name)
      Set name of client.
      参数:
      name - name of client.
    • capabilityNegotiationTimeout

      long capabilityNegotiationTimeout()
      get timeout of connection setup(TimeUnit.MILLISECONDS).
      返回:
      timeout of connection setup