Package edu.brown.benchmark.tpce.generators.TradeGenerator

Examples of edu.brown.benchmark.tpce.generators.TradeGenerator.TradeType.ordinal()


                }
            }

            inputStructure.setTypeIsMargin(0);
        }
        iTradeType = eTradeType.ordinal();
       
        if (rnd.rndPercent(driverCETxnSettings.TO_settings.cur_lifo)){
          inputStructure.setIsLifo(1);
        }
        else inputStructure.setIsLifo(0);
View Full Code Here


        if (rnd.rndPercent(driverCETxnSettings.TO_settings.cur_lifo)){
          inputStructure.setIsLifo(1);
        }
        else inputStructure.setIsLifo(0);

        char[] tmp = (tradeType.getTupleByIndex(eTradeType.ordinal()))[0].toCharArray();
        inputStructure.setTradeTypeId(String.copyValueOf(tmp, 0, tmp.length));

        tmp = (statusType.getTupleByIndex(StatusTypeId.E_PENDING.ordinal()))[0].toCharArray();
        inputStructure.setStPendingId(String.copyValueOf(tmp, 0, tmp.length));
        tmp = (statusType.getTupleByIndex(StatusTypeId.E_SUBMITTED.ordinal()))[0].toCharArray();
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.