Package com.oltpbenchmark.benchmarks.tpcc.procedures

Examples of com.oltpbenchmark.benchmarks.tpcc.procedures.NewOrder.run()


   */
  @Override
    protected TransactionStatus executeWork(TransactionType nextTransaction) throws UserAbortException, SQLException {
        if (nextTransaction.getProcedureClass().equals(NewOrder.class)) {
          NewOrder proc = (NewOrder) this.getProcedure(NewOrder.class);
      proc.run(conn, gen, terminalWarehouseID, numWarehouses,
          terminalDistrictLowerID, terminalDistrictUpperID, this);
        } else if (nextTransaction.getProcedureClass().equals(Payment.class)) {
      Payment proc2 = (Payment) this.getProcedure(Payment.class);
      proc2.run(conn, gen, terminalWarehouseID, numWarehouses,
          terminalDistrictLowerID, terminalDistrictUpperID, this);
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.