Class Cluster1Env

java.lang.Object
org.apache.iotdb.it.env.cluster.env.AbstractEnv
org.apache.iotdb.it.env.cluster.env.Cluster1Env
All Implemented Interfaces:
BaseEnv

public class Cluster1Env extends AbstractEnv
  • Constructor Details

    • Cluster1Env

      public Cluster1Env()
  • Method Details

    • initClusterEnvironment

      public void initClusterEnvironment()
      Description copied from interface: BaseEnv
      Init a cluster with default number of ConfigNodes and DataNodes.
    • initClusterEnvironment

      public void initClusterEnvironment(int configNodesNum, int dataNodesNum)
      Description copied from interface: BaseEnv
      Init a cluster with the specified number of ConfigNodes and DataNodes.
      Parameters:
      configNodesNum - the number of ConfigNodes.
      dataNodesNum - the number of DataNodes.
    • initClusterEnvironment

      public void initClusterEnvironment(int configNodesNum, int dataNodesNum, int testWorkingRetryCount)
      Description copied from interface: BaseEnv
      Init a cluster with the specified number of ConfigNodes and DataNodes.
      Parameters:
      configNodesNum - the number of ConfigNodes.
      dataNodesNum - the number of DataNodes.
      testWorkingRetryCount - the retry count when testing the availability of cluster