* @param batchInserter wrapped batch inserter.
* @param commitTxAfterMutations how many mutations it should take before a commit is simulated.
*/
public TransactionSimulatingBatchInserterImpl(BatchInserter batchInserter, int commitTxAfterMutations) {
this.wrapped = batchInserter;
this.transactionData = new BatchTransactionData(commitTxAfterMutations);
}