IMDB db1 = new IMDB(mailboxFactory, factory, directoryPath);
db1.clearDirectory();
openDbFile.send(future, db1);
TransactionAggregator transactionAggregator1 = db1.getTransactionAggregator();
TransactionAggregatorDriver transactionAggregatorDriver =
new TransactionAggregatorDriver();
transactionAggregatorDriver.initialize(mailboxFactory.createAsyncMailbox(), transactionAggregator1);
transactionAggregatorDriver.setInitialBufferCapacity(1024);
transactionAggregatorDriver.win = 3;
transactionAggregatorDriver.aggregateTransaction = aggregateIncrementTransaction;
transactionAggregatorDriver.batch = 1;
transactionAggregatorDriver.count = 1;