类 GrpcClusterClient

  • 所有已实现的接口:
    Closeable

    public class GrpcClusterClient
    extends GrpcClient
    gRPC client for cluster.
    版本:
    $Id: GrpcClusterClient.java, v 0.1 2020年09月07日 11:05 AM liuzunfei Exp $
    作者:
    liuzunfei
    • 构造器详细资料

      • GrpcClusterClient

        public GrpcClusterClient​(java.lang.String name)
        Empty constructor.
        参数:
        name - name of client.
      • GrpcClusterClient

        public GrpcClusterClient​(GrpcClientConfig config)
        Empty constructor.
        参数:
        config - of GrpcClientConfig.
      • GrpcClusterClient

        public GrpcClusterClient​(java.util.Properties properties)
        Constructor.
        参数:
        properties - .
      • GrpcClusterClient

        public GrpcClusterClient​(java.lang.String name,
                                 java.lang.Integer threadPoolCoreSize,
                                 java.lang.Integer threadPoolMaxSize,
                                 java.util.Map<java.lang.String,​java.lang.String> labels)
        Constructor.
        参数:
        name - name of client.
        threadPoolCoreSize - .
        threadPoolMaxSize - .
        labels - .
    • 方法详细资料

      • rpcPortOffset

        public int rpcPortOffset()
        从类复制的说明: RpcClient
        increase offset of the nacos server port for the rpc server port.
        指定者:
        rpcPortOffset 在类中 RpcClient
        返回:
        rpc port offset