X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fmessages%2FForwardedReadyTransaction.java;h=0f872430599d1d75869b2404e5f93052d2986cec;hp=4f8ea51f784ea2e0352eb6aedd8d1dc35469f0ef;hb=7cda871930ba64f8916aceb7751403481703b790;hpb=f9f6d8ed4b12e39386801f6b16b9485f5558336e diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/ForwardedReadyTransaction.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/ForwardedReadyTransaction.java index 4f8ea51f78..0f87243059 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/ForwardedReadyTransaction.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/ForwardedReadyTransaction.java @@ -19,12 +19,17 @@ public class ForwardedReadyTransaction { private final String transactionID; private final DOMStoreThreePhaseCommitCohort cohort; private final Modification modification; + private final boolean returnSerialized; + private final short txnClientVersion; - public ForwardedReadyTransaction(String transactionID, DOMStoreThreePhaseCommitCohort cohort, - Modification modification) { + public ForwardedReadyTransaction(String transactionID, short txnClientVersion, + DOMStoreThreePhaseCommitCohort cohort, Modification modification, + boolean returnSerialized) { this.transactionID = transactionID; this.cohort = cohort; this.modification = modification; + this.returnSerialized = returnSerialized; + this.txnClientVersion = txnClientVersion; } public String getTransactionID() { @@ -38,4 +43,12 @@ public class ForwardedReadyTransaction { public Modification getModification() { return modification; } + + public boolean isReturnSerialized() { + return returnSerialized; + } + + public short getTxnClientVersion() { + return txnClientVersion; + } }