public InJvmSutBaseConfiguration()

in harry-core/src/harry/model/sut/injvm/InJvmSutBase.java [198:219]


        public InJvmSutBaseConfiguration(@JsonProperty(value = "nodes", defaultValue = "3") int nodes,
                                         @JsonProperty(value = "worker_threads", defaultValue = "10") int worker_threads,
                                         @JsonProperty("root") String root)
        {
            this.nodes = nodes;
            this.worker_threads = worker_threads;
            if (root == null)
            {
                try
                {
                    this.root = Files.createTempDirectory("cluster_" + nodes + "_nodes").toString();
                }
                catch (IOException e)
                {
                    throw new IllegalArgumentException(e);
                }
            }
            else
            {
                this.root = root;
            }
        }