Examples of AutoKeeperCluster


Examples of com.alibaba.otter.shared.common.model.autokeeper.AutoKeeperCluster

     * @param channelId
     * @param context
     * @throws WebxException
     */
    public void execute(@Param("clusterId") Long clusterId, Context context, Navigator nav) throws Exception {
        AutoKeeperCluster autoKeeperCluster = autoKeeperClusterService.findAutoKeeperClusterById(clusterId);

        context.put("autoKeeperCluster", autoKeeperCluster);
    }
View Full Code Here

Examples of com.alibaba.otter.shared.common.model.autokeeper.AutoKeeperCluster

            parameter.setMbeanPort(node.getPort().intValue() + 2);
        }

        Long autoKeeperclusterId = nodeParameterInfo.getField("autoKeeperclusterId").getLongValue();
        if (autoKeeperclusterId != null && autoKeeperclusterId > 0) {
            AutoKeeperCluster autoKeeperCluster = autoKeeperClusterService.findAutoKeeperClusterById(autoKeeperclusterId);
            parameter.setZkCluster(autoKeeperCluster);
        }

        node.setParameters(parameter);
        try {
View Full Code Here

Examples of com.alibaba.otter.shared.common.model.autokeeper.AutoKeeperCluster

            parameter.setMbeanPort(node.getPort().intValue() + 2);
        }

        Long autoKeeperclusterId = nodeParameterInfo.getField("autoKeeperclusterId").getLongValue();
        if (autoKeeperclusterId != null && autoKeeperclusterId > 0) {
            AutoKeeperCluster autoKeeperCluster = autoKeeperClusterService.findAutoKeeperClusterById(autoKeeperclusterId);
            parameter.setZkCluster(autoKeeperCluster);
        }

        node.setParameters(parameter);
        try {
View Full Code Here

Examples of com.alibaba.otter.shared.common.model.autokeeper.AutoKeeperCluster

    @Resource(name = "autoKeeperClusterService")
    private AutoKeeperClusterService autoKeeperClusterService;

    public void execute(@Param("canalId") Long canalId, Context context) throws Exception {
        Canal canal = canalService.findById(canalId);
        AutoKeeperCluster zkCluster = autoKeeperClusterService.findAutoKeeperClusterById(canal.getCanalParameter().getZkClusterId());
        context.put("canal", canal);
        context.put("zkCluster", zkCluster);
    }
View Full Code Here

Examples of com.alibaba.otter.shared.common.model.autokeeper.AutoKeeperCluster

        NodeParameter parameter = new NodeParameter();
        nodeInfo.setProperties(node);
        nodeParameterInfo.setProperties(parameter);
        Long autoKeeperclusterId = nodeParameterInfo.getField("autoKeeperclusterId").getLongValue();
        if (autoKeeperclusterId != null && autoKeeperclusterId > 0) {
            AutoKeeperCluster autoKeeperCluster = autoKeeperClusterService.findAutoKeeperClusterById(autoKeeperclusterId);
            parameter.setZkCluster(autoKeeperCluster);
        }

        node.setParameters(parameter);
        try {
View Full Code Here

Examples of com.alibaba.otter.shared.common.model.autokeeper.AutoKeeperCluster

        NodeParameter parameter = new NodeParameter();
        nodeInfo.setProperties(node);
        nodeParameterInfo.setProperties(parameter);
        Long autoKeeperclusterId = nodeParameterInfo.getField("autoKeeperclusterId").getLongValue();
        if (autoKeeperclusterId != null && autoKeeperclusterId > 0) {
            AutoKeeperCluster autoKeeperCluster = autoKeeperClusterService.findAutoKeeperClusterById(autoKeeperclusterId);
            parameter.setZkCluster(autoKeeperCluster);
        }

        node.setParameters(parameter);
        try {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.