Package org.apache.hadoop.hdfs.notifier.benchmark

Examples of org.apache.hadoop.hdfs.notifier.benchmark.TxnGenerator.start()


    int i = 0;
    String cmd = args[i++];
   
    if ("-generatetxn".equals(cmd)) {
      TxnGenerator generator = new TxnGenerator(conf);
      generator.start(args, i);
    } else if ("-consumetxn".equals(cmd)) {
      TxnConsumer consumer = new TxnConsumer(conf);
      consumer.start(args, i);
    }
    return 0;
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.