Package com.oltpbenchmark.benchmarks.twitter.util

Examples of com.oltpbenchmark.benchmarks.twitter.util.TransactionSelector


      return GetFollowers.class.getPackage();
  }

  @Override
  protected List<Worker> makeWorkersImpl(boolean verbose) throws IOException {
    TransactionSelector transSel = new TransactionSelector(
    twitterConf.getTracefile(),
    twitterConf.getTracefile2(),
    workConf.getTransTypes());
    List<TwitterOperation> trace = Collections.unmodifiableList(transSel.readAll());
    transSel.close();
    ArrayList<Worker> workers = new ArrayList<Worker>();
    for (int i = 0; i < workConf.getTerminals(); ++i) {
      TransactionGenerator<TwitterOperation> generator =
          new TraceTransactionGenerator(trace);
      workers.add(new TwitterWorker(i, this, generator));
View Full Code Here

TOP

Related Classes of com.oltpbenchmark.benchmarks.twitter.util.TransactionSelector

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.