类 SyncConfigNodeClientPool
- java.lang.Object
-
- org.apache.iotdb.confignode.client.sync.SyncConfigNodeClientPool
-
public class SyncConfigNodeClientPool extends java.lang.ObjectSynchronously send RPC requests to ConfigNode. See confignode.thrift for more details.
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static SyncConfigNodeClientPoolgetInstance()org.apache.iotdb.common.rpc.thrift.TSStatusremoveConfigNode(org.apache.iotdb.common.rpc.thrift.TConfigNodeLocation configNodeLocation, org.apache.iotdb.commons.client.sync.SyncConfigNodeIServiceClient client)ConfigNode Leader stop any ConfigNode in the clusterjava.lang.ObjectsendSyncRequestToConfigNodeWithRetry(org.apache.iotdb.common.rpc.thrift.TEndPoint endPoint, java.lang.Object req, ConfigNodeRequestType requestType)
-
-
-
方法详细资料
-
sendSyncRequestToConfigNodeWithRetry
public java.lang.Object sendSyncRequestToConfigNodeWithRetry(org.apache.iotdb.common.rpc.thrift.TEndPoint endPoint, java.lang.Object req, ConfigNodeRequestType requestType)
-
removeConfigNode
public org.apache.iotdb.common.rpc.thrift.TSStatus removeConfigNode(org.apache.iotdb.common.rpc.thrift.TConfigNodeLocation configNodeLocation, org.apache.iotdb.commons.client.sync.SyncConfigNodeIServiceClient client) throws org.apache.iotdb.commons.client.exception.ClientManagerException, org.apache.thrift.TException, java.lang.InterruptedExceptionConfigNode Leader stop any ConfigNode in the cluster- 参数:
configNodeLocation- To be removed ConfigNode- 返回:
- SUCCESS_STATUS: remove ConfigNode success, other status remove failed
- 抛出:
org.apache.iotdb.commons.client.exception.ClientManagerExceptionorg.apache.thrift.TExceptionjava.lang.InterruptedException
-
getInstance
public static SyncConfigNodeClientPool getInstance()
-
-