- public ForwardedReadyTransaction(String transactionID, short txnClientVersion,
- DOMStoreThreePhaseCommitCohort cohort, Modification modification,
- boolean returnSerialized) {
- this.transactionID = transactionID;
- this.cohort = cohort;
- this.modification = modification;
- this.returnSerialized = returnSerialized;
+ public ForwardedReadyTransaction(TransactionIdentifier transactionID, short txnClientVersion,
+ ReadWriteShardDataTreeTransaction transaction, boolean doImmediateCommit) {
+ this.transactionID = Preconditions.checkNotNull(transactionID);
+ this.transaction = Preconditions.checkNotNull(transaction);