Examples of TransactionTypes


Examples of com.oltpbenchmark.api.TransactionTypes

        // Always check if we need to want to run CLOSE_AUCTIONS
        // We only do this from the first client
        if (AuctionMarkConstants.CLOSE_AUCTIONS_SEPARATE_THREAD == false &&
            closeAuctions_flag.compareAndSet(true, false)) {
            txn = Transaction.CloseAuctions;
            TransactionTypes txnTypes = this.getWorkloadConfiguration().getTransTypes();
            txnType = txnTypes.getType(txn.procClass);
            assert(txnType != null) : txnTypes;
        } else {
            txn = Transaction.get(txnType.getProcedureClass());
            assert(txn != null) :
                "Failed to get Transaction handle for " + txnType.getProcedureClass().getSimpleName();
View Full Code Here

Examples of com.oltpbenchmark.api.TransactionTypes

        }
        @Override
        public void run() {
            Thread.currentThread().setName(this.getClass().getSimpleName());
           
            TransactionTypes txnTypes = AuctionMarkWorker.this.getWorkloadConfiguration().getTransTypes();
            TransactionType txnType = txnTypes.getType(CloseAuctions.class);
            assert(txnType != null) : txnTypes;
           
            Procedure proc = AuctionMarkWorker.this.getProcedure(txnType);
            assert(proc != null);
           
View Full Code Here

Examples of com.oltpbenchmark.api.TransactionTypes

            if (xmlConfig.containsKey(key + ".id")) {
                txnId = xmlConfig.getInt(key + ".id");
            }
            ttypes.add(bench.initTransactionType(txnName, txnId));
        } // FOR
        TransactionTypes tt = new TransactionTypes(ttypes);
        wrkld.setTransTypes(tt);
        LOG.debug("Using the following transaction types: " + tt);

        // Export StatementDialects
        if (isBooleanOptionSet(argsLine, "dialects-export")) {
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.