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%2Fdatabroker%2FClientBackedDataStore.java;h=3a529a179779a3f5c05b82ece86a48abe0114217;hb=5b987edaa120859d0f7e25bc916262dad505eeb8;hp=8aebe5bb19337447dc7366d8fd86dc1eab2abf0f;hpb=e3abb5765cd5a3dba4616b875b6026f1efc460e9;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStore.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStore.java index 8aebe5bb19..3a529a1797 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStore.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStore.java @@ -16,11 +16,11 @@ import org.opendaylight.controller.cluster.datastore.ClusterWrapper; import org.opendaylight.controller.cluster.datastore.DatastoreContextFactory; import org.opendaylight.controller.cluster.datastore.config.Configuration; import org.opendaylight.controller.cluster.datastore.persisted.DatastoreSnapshot; -import org.opendaylight.controller.cluster.datastore.utils.ActorContext; -import org.opendaylight.controller.sal.core.spi.data.DOMStoreReadTransaction; -import org.opendaylight.controller.sal.core.spi.data.DOMStoreReadWriteTransaction; -import org.opendaylight.controller.sal.core.spi.data.DOMStoreTransactionChain; -import org.opendaylight.controller.sal.core.spi.data.DOMStoreWriteTransaction; +import org.opendaylight.controller.cluster.datastore.utils.ActorUtils; +import org.opendaylight.mdsal.dom.spi.store.DOMStoreReadTransaction; +import org.opendaylight.mdsal.dom.spi.store.DOMStoreReadWriteTransaction; +import org.opendaylight.mdsal.dom.spi.store.DOMStoreTransactionChain; +import org.opendaylight.mdsal.dom.spi.store.DOMStoreWriteTransaction; /** * Implements a distributed DOMStore using ClientActor. @@ -34,9 +34,9 @@ public class ClientBackedDataStore extends AbstractDataStore { } @VisibleForTesting - ClientBackedDataStore(final ActorContext actorContext, final ClientIdentifier identifier, + ClientBackedDataStore(final ActorUtils actorUtils, final ClientIdentifier identifier, final DataStoreClient clientActor) { - super(actorContext, identifier, clientActor); + super(actorUtils, identifier, clientActor); } @Override @@ -60,7 +60,7 @@ public class ClientBackedDataStore extends AbstractDataStore { } private boolean debugAllocation() { - return getActorContext().getDatastoreContext().isTransactionDebugContextEnabled(); + return getActorUtils().getDatastoreContext().isTransactionDebugContextEnabled(); } private Throwable allocationContext() {