Examples of NotifyChannelEvent


Examples of com.alibaba.otter.shared.communication.model.config.NotifyChannelEvent

    }

    public boolean notifyChannel(final Channel channel) {
        Assert.notNull(channel);
        // 获取所有的Node节点
        NotifyChannelEvent event = new NotifyChannelEvent();
        event.setChannel(channel);

        Set<String> addrsSet = new HashSet<String>();

        // 组装当前otter所有的存活的node节点
        // List<Node> nodes = nodeService.listAll();
View Full Code Here

Examples of com.alibaba.otter.shared.communication.model.config.NotifyChannelEvent

        });
        // 初始化一下数据
        NodeTaskServiceImpl nodeTaskSerivce = (NodeTaskServiceImpl) spring.getBean("nodeTaskService");
        List<NodeTask> tasks = null;

        NotifyChannelEvent event = new NotifyChannelEvent();
        event.setChannel(channel);
        reflector.invoke(nodeTaskSerivce, "onNotifyChannel", event);
        tasks = reflector.invoke(nodeTaskSerivce, "mergeIncNodeTasks");
        want.bool(tasks.size() == 2).is(true);

        tasks = nodeTaskSerivce.listAllNodeTasks();
View Full Code Here

Examples of com.alibaba.otter.shared.communication.model.config.NotifyChannelEvent

    }

    public boolean notifyChannel(final Channel channel) {
        Assert.notNull(channel);
        // 获取所有的Node节点
        NotifyChannelEvent event = new NotifyChannelEvent();
        event.setChannel(channel);

        Set<String> addrsSet = new HashSet<String>();

        // 组装当前otter所有的存活的node节点
        // List<Node> nodes = nodeService.listAll();
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.