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%2FTransactionOperation.java;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FTransactionOperation.java;h=0000000000000000000000000000000000000000;hb=736333d81f3033ad3a78a7bcadc27b9256396706;hp=962d26133b1b546b1953bb8e0cd7667593fda269;hpb=3d0b84870481f03e4187bfbb7da89ff23e37516b;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionOperation.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionOperation.java deleted file mode 100644 index 962d26133b..0000000000 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionOperation.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2015 Cisco Systems, Inc. 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.datastore; - -import org.eclipse.jdt.annotation.Nullable; - -/** - * Abstract superclass for transaction operations which should be executed - * on a {@link TransactionContext} at a later point in time. - */ -abstract class TransactionOperation { - /** - * Execute the delayed operation. - * - * @param transactionContext the TransactionContext - * @param havePermit Boolean indicator if this operation has tried and acquired a permit, null if there was no - * attempt to acquire a permit. - */ - protected abstract void invoke(TransactionContext transactionContext, @Nullable Boolean havePermit); -}