类 GrpcClusterClient
java.lang.Object
com.alibaba.nacos.common.remote.client.RpcClient
com.alibaba.nacos.common.remote.client.grpc.GrpcClient
com.alibaba.nacos.common.remote.client.grpc.GrpcClusterClient
- 所有已实现的接口:
Closeable
gRPC client for cluster.
- 版本:
- $Id: GrpcClusterClient.java, v 0.1 2020年09月07日 11:05 AM liuzunfei Exp $
- 作者:
- liuzunfei
-
嵌套类概要
从类继承的嵌套类/接口 com.alibaba.nacos.common.remote.client.RpcClient
RpcClient.ConnectionEvent, RpcClient.ServerInfo -
字段概要
从类继承的字段 com.alibaba.nacos.common.remote.client.RpcClient
clientAbilities, clientEventExecutor, connectionEventListeners, currentConnection, eventLinkedBlockingQueue, labels, rpcClientStatus, serverRequestHandlers -
构造器概要
构造器 -
方法概要
从类继承的方法 com.alibaba.nacos.common.remote.client.grpc.GrpcClient
connectToServer, getConnectionType, shutdown从类继承的方法 com.alibaba.nacos.common.remote.client.RpcClient
asyncRequest, clientAbilities, currentRpcServer, getCurrentServer, getLabels, getName, getServerListFactory, getTenant, handleServerRequest, isRunning, isShutdown, isWaitInitiated, keepAlive, labels, nextRpcServer, notifyConnected, notifyDisConnected, reconnect, registerConnectionListener, registerServerRequestHandler, request, request, requestFuture, serverListFactory, setName, setTenant, start, switchServerAsync, switchServerAsync, switchServerAsyncOnRequestFail
-
构造器详细资料
-
GrpcClusterClient
Empty constructor.- 参数:
name- name of client.
-
-
方法详细资料
-
rpcPortOffset
public int rpcPortOffset()从类复制的说明:RpcClientincrease offset of the nacos server port for the rpc server port.- 指定者:
rpcPortOffset在类中RpcClient- 返回:
- rpc port offset
-