Package com.alibaba.otter.shared.arbitrate.model.SyncStatusEventData

Examples of com.alibaba.otter.shared.arbitrate.model.SyncStatusEventData.SyncStatus


    @Test
    public void test_simple() {
        toolEvent = new ToolArbitrateEvent();
        SyncStatusEventData eventData = toolEvent.fetch(pipelineId);
        eventData.setPipelineId(pipelineId);
        eventData.addStatus(new SyncStatus(false, 1000));
        eventData.addStatus(new SyncStatus(true, 1001));
        toolEvent.single(eventData);

        eventData = toolEvent.fetch(pipelineId);
        want.object(eventData).notNull();
    }
View Full Code Here

TOP

Related Classes of com.alibaba.otter.shared.arbitrate.model.SyncStatusEventData.SyncStatus

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.