Package com.oltpbenchmark.benchmarks.auctionmark.util

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


                long num_items = randomNumItems.nextInt();
                profile.users_per_itemCount.put(num_items);
            } // FOR
             if (LOG.isDebugEnabled())
                LOG.debug("Users Per Item Count:\n" + profile.users_per_itemCount);
            this.idGenerator = new UserIdGenerator(profile.users_per_itemCount, benchmark.getWorkloadConfiguration().getTerminals());
            assert(this.idGenerator.hasNext());
        }
View Full Code Here


    }
   
    private final void initializeUserIdGenerator(int clientId) {
        assert(this.users_per_itemCount != null);
        assert(this.users_per_itemCount.isEmpty() == false);
        this.userIdGenerator = new UserIdGenerator(this.users_per_itemCount,
                                                   this.num_clients,
                                                   (clientId < 0 ? null : clientId));
    }
View Full Code Here

TOP

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

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.