类 SyncConfigNodeClientPool


  • public class SyncConfigNodeClientPool
    extends java.lang.Object
    Synchronously send RPC requests to ConfigNode. See confignode.thrift for more details.
    • 方法详细资料

      • 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.InterruptedException
        ConfigNode 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.ClientManagerException
        org.apache.thrift.TException
        java.lang.InterruptedException