- final DurationStatisticsTracker commitStatTracker) {
- this.tx = Preconditions.checkNotNull(transaction, "transaction must not be null");
- this.cohorts = Preconditions.checkNotNull(cohorts, "cohorts must not be null");
+ final DurationStatisticsTracker commitStatTracker,
+ final Supplier<T> futureValueSupplier) {
+ this.tx = requireNonNull(transaction, "transaction must not be null");
+ this.cohorts = requireNonNull(cohorts, "cohorts must not be null");