view src/main/java/christie/test/topology/localTestTopology/StartTorqueTestTopology.java @ 198:dd3c0ba6a0a6

fix topology manager
author akahori
date Sat, 09 Mar 2019 21:53:37 +0900
parents 7ca232bc1009
children
line wrap: on
line source

package christie.test.topology.localTestTopology;

import christie.codegear.CodeGearManager;
import christie.codegear.StartCodeGear;
import christie.topology.node.StartTopologyNode;
import christie.topology.node.TopologyNodeConfig;

public class StartTorqueTestTopology extends StartCodeGear {

    public StartTorqueTestTopology(CodeGearManager cgm) {
        super(cgm);
    }

    public static void main(String[] args) {
        /* Torque */
        TopologyNodeConfig topologyNodeConfig = new TopologyNodeConfig(args);
        StartTopologyNode startTopologyNode = new StartTopologyNode(topologyNodeConfig, new LTRemoteIncrement());
        startTopologyNode.put("num", 0);
    }
}