X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fmessages%2FCreateTransactionReply.java;h=81fd6eeabf49e62e2ad5f53ee4dadd8dc4bc4068;hb=f1c47fb514878ef2149e5f22d6098ff8c79dec1d;hp=4faf9d370d56a4dc4bb3edf97de469fb33f95362;hpb=d3d2323ad9ad332d71dc6b956e4a3d3daa525902;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CreateTransactionReply.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CreateTransactionReply.java index 4faf9d370d..81fd6eeabf 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CreateTransactionReply.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CreateTransactionReply.java @@ -10,14 +10,28 @@ package org.opendaylight.controller.cluster.datastore.messages; import akka.actor.ActorPath; +/** + * This is being deprecated to use sal-protocolbuff-encoding ShardTransactionMessages.CreateTransactionReply + * This classes will be removed once complete integration of distribute datastore with + * sal-protocolbuff-encoding is done. + */ + +@Deprecated public class CreateTransactionReply { - private final ActorPath transactionPath; + private final ActorPath transactionPath; + private final String transactionId; + + public CreateTransactionReply(ActorPath transactionPath, + String transactionId) { + this.transactionPath = transactionPath; + this.transactionId = transactionId; + } - public CreateTransactionReply(ActorPath transactionPath) { - this.transactionPath = transactionPath; - } + public ActorPath getTransactionPath() { + return transactionPath; + } - public ActorPath getTransactionPath() { - return transactionPath; - } + public String getTransactionId() { + return transactionId; + } }