X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FDistributedDataStore.java;h=5572d577cc40776150694474b4c2deeb55df0842;hb=refs%2Fchanges%2F03%2F103103%2F11;hp=16198ff544f35ef995e510dee189c0af2ce25f5e;hpb=d610d46f30872ebdea65686d0ef8535ac251f582;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DistributedDataStore.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DistributedDataStore.java index 16198ff544..5572d577cc 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DistributedDataStore.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DistributedDataStore.java @@ -20,23 +20,25 @@ import org.opendaylight.mdsal.dom.spi.store.DOMStoreTransactionChain; import org.opendaylight.mdsal.dom.spi.store.DOMStoreWriteTransaction; /** - * Implements a distributed DOMStore using Akka Patterns.ask(). + * Implements a distributed DOMStore using Akka {@code Patterns.ask()}. + * + * @deprecated This implementation is destined for removal, */ +@Deprecated(since = "7.0.0", forRemoval = true) public class DistributedDataStore extends AbstractDataStore { - private final TransactionContextFactory txContextFactory; public DistributedDataStore(final ActorSystem actorSystem, final ClusterWrapper cluster, final Configuration configuration, final DatastoreContextFactory datastoreContextFactory, final DatastoreSnapshot restoreFromSnapshot) { super(actorSystem, cluster, configuration, datastoreContextFactory, restoreFromSnapshot); - this.txContextFactory = new TransactionContextFactory(getActorUtils(), getIdentifier()); + txContextFactory = new TransactionContextFactory(getActorUtils(), getIdentifier()); } @VisibleForTesting DistributedDataStore(final ActorUtils actorUtils, final ClientIdentifier identifier) { super(actorUtils, identifier); - this.txContextFactory = new TransactionContextFactory(getActorUtils(), getIdentifier()); + txContextFactory = new TransactionContextFactory(getActorUtils(), getIdentifier()); }