Package com.oltpbenchmark.benchmarks.auctionmark.util

Examples of com.oltpbenchmark.benchmarks.auctionmark.util.LoaderItemInfo


            short numWatches = (short)p.getSecond().nextInt();
           
            // Create the ItemInfo object that we will use to cache the local data
            // for this item. This will get garbage collected once all the derivative
            // tables are done with it.
            LoaderItemInfo itemInfo = new LoaderItemInfo(itemId, endDate, numBids);
            itemInfo.sellerId = seller_id;
            itemInfo.startDate = startDate;
            itemInfo.initialPrice = profile.randomInitialPrice.nextInt();
            assert(itemInfo.initialPrice > 0) : "Invalid initial price for " + itemId;
            itemInfo.numImages = (short) profile.randomNumImages.nextInt();
View Full Code Here


                is_buyer = true;
            } else {
                assert(bid.seller_feedback);
                is_buyer = false;
            }
            LoaderItemInfo itemInfo = bid.getLoaderItemInfo();
           
            // UF_U_ID
            row[col++] = (is_buyer ? bid.bidderId : itemInfo.sellerId);
            // UF_I_ID
            row[col++] = itemInfo.itemId;
View Full Code Here

TOP

Related Classes of com.oltpbenchmark.benchmarks.auctionmark.util.LoaderItemInfo

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.