Package com.alibaba.otter.node.etl.conflict.model

Examples of com.alibaba.otter.node.etl.conflict.model.FileConflictDetectEvent


        // 将自己注册为远程事件处理
        CommunicationRegistry.regist(ConflictEventType.fileConflictDetect, this);
    }

    public FileBatch detect(FileBatch fileBatch, Long targetNodeId) {
        FileConflictDetectEvent event = new FileConflictDetectEvent();
        event.setFileBatch(fileBatch);
        if (isLocal(targetNodeId)) {
            return onFileConflictDetect(event);
        } else {
            // 调用远程
            return (FileBatch) nodeCommmunicationClient.call(targetNodeId, event);
View Full Code Here

TOP

Related Classes of com.alibaba.otter.node.etl.conflict.model.FileConflictDetectEvent

Copyright © 2018 www.massapicom. 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.