Package com.jitlogic.zorka.common.zico

Examples of com.jitlogic.zorka.common.zico.ZicoDataLoader.load()


    private void load(File dir, String file, String hostname) {
        System.out.println("Starting: " + new File(dir, file));
        long t1 = System.nanoTime();
        try {
            ZicoDataLoader loader = new ZicoDataLoader("127.0.0.1", 8640, hostname, "");
            loader.load(new File(dir, file).getPath());

            records.addAndGet(loader.getRecords());
            bytes.addAndGet(loader.getBytes());

            long t = (System.nanoTime()-t1)/1000000;
View Full Code Here


    }

    //@Test
    public void testLoadDataFile() throws Exception {
        ZicoDataLoader loader = new ZicoDataLoader("127.0.0.1", 8640, System.getProperty("load.host", "test"), "");
        loader.load(System.getProperty("load.file", "/tmp/trace.ztr"));
    }

    private Set<String> VERBOTEN = ZorkaUtil.set(".", "..");

    //@Test @Ignore
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.