Package com.alibaba.otter.node.etl.common.pipe.impl.memory

Examples of com.alibaba.otter.node.etl.common.pipe.impl.memory.RowDataMemoryPipe.afterPropertiesSet()


    @Test
    public void test_ok() {
        RowDataMemoryPipe pipe = new RowDataMemoryPipe();
        pipe.setDownloadDir(tmp);
        try {
            pipe.afterPropertiesSet();
        } catch (Exception e) {
            want.fail();
        }

        DbBatch source = new DbBatch();
View Full Code Here


    public void test_timeout() {
        RowDataMemoryPipe pipe = new RowDataMemoryPipe();
        pipe.setTimeout(1 * 1000L);// 1s后超时
        pipe.setDownloadDir(tmp);
        try {
            pipe.afterPropertiesSet();
        } catch (Exception e) {
            want.fail();
        }

        DbBatch source = new DbBatch();
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.