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%2Fdatabroker%2FDOMBrokerWriteOnlyTransaction.java;h=2f0915dfcee2e7799f9ae80a6efad7d973d4b77e;hp=7ad68f29d68fdd143db65d7487039370841b5ef2;hb=HEAD;hpb=a03837fe4b8629645788de8a48b453402d6819de diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/DOMBrokerWriteOnlyTransaction.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/DOMBrokerWriteOnlyTransaction.java deleted file mode 100644 index 7ad68f29d6..0000000000 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/DOMBrokerWriteOnlyTransaction.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) 2015 Huawei Technologies Co. Ltd. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -package org.opendaylight.controller.cluster.databroker; - -import java.util.Map; -import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType; -import org.opendaylight.controller.sal.core.spi.data.DOMStoreTransactionFactory; -import org.opendaylight.controller.sal.core.spi.data.DOMStoreWriteTransaction; - -public class DOMBrokerWriteOnlyTransaction extends AbstractDOMBrokerWriteTransaction { - /** - * Creates new composite Transactions. - * - * @param identifier - * Identifier of transaction. - * @param storeTxFactories - */ - public DOMBrokerWriteOnlyTransaction(Object identifier, - Map storeTxFactories, - AbstractDOMTransactionFactory commitImpl) { - super(identifier, storeTxFactories, commitImpl); - } - - @Override - protected DOMStoreWriteTransaction createTransaction(LogicalDatastoreType key) { - return getTxFactory(key).newWriteOnlyTransaction(); - } - -}