public TwitterWorker(int id, TwitterBenchmark benchmarkModule, TransactionGenerator<TwitterOperation> generator) {
super(benchmarkModule, id);
this.generator = generator;
this.num_users = (int)Math.round(TwitterConstants.NUM_USERS * this.getWorkloadConfiguration().getScaleFactor());
TweetHistogram tweet_h = new TweetHistogram();
this.tweet_len_rng = new FlatHistogram<Integer>(this.rng(), tweet_h);
}