Package com.alibaba.otter.shared.arbitrate.impl.setl

Examples of com.alibaba.otter.shared.arbitrate.impl.setl.ToolArbitrateEvent


    private ToolArbitrateEvent toolEvent;

    @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);
View Full Code Here


        want.object(eventData).notNull();
    }

    @Test
    public void test_remedy() {
        toolEvent = new ToolArbitrateEvent();

        RemedyIndexEventData data = new RemedyIndexEventData();
        Date now = new Date();
        Long start = now.getTime() - 24 * 3600 * 60;

 
View Full Code Here

TOP

Related Classes of com.alibaba.otter.shared.arbitrate.impl.setl.ToolArbitrateEvent

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.