Package org.apache.iotdb.db.conf
Class IoTDBStopCheck
- java.lang.Object
-
- org.apache.iotdb.db.conf.IoTDBStopCheck
-
public class IoTDBStopCheck extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IoTDBStopCheck()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckDuplicateIp(java.util.List<java.lang.String> dataNodeIps)check datanode ips is duplicate or notevoidcheckIpInCluster(java.util.List<java.lang.String> removedDataNodeIps, java.util.List<java.lang.String> onlineDataNodeIps)check the remove Data Node ips is in cluster or notstatic IoTDBStopCheckgetInstance()
-
-
-
Method Detail
-
getInstance
public static IoTDBStopCheck getInstance()
-
checkDuplicateIp
public void checkDuplicateIp(java.util.List<java.lang.String> dataNodeIps) throws org.apache.iotdb.commons.exception.BadNodeUrlExceptioncheck datanode ips is duplicate or note- Parameters:
dataNodeIps- Data Node IP list- Throws:
org.apache.iotdb.commons.exception.BadNodeUrlException- check failed
-
checkIpInCluster
public void checkIpInCluster(java.util.List<java.lang.String> removedDataNodeIps, java.util.List<java.lang.String> onlineDataNodeIps) throws org.apache.iotdb.commons.exception.BadNodeUrlExceptioncheck the remove Data Node ips is in cluster or not- Parameters:
removedDataNodeIps- removed Data Node Ip listonlineDataNodeIps- all online Data Node Ip list- Throws:
org.apache.iotdb.commons.exception.BadNodeUrlException- check failed
-
-