BUG-5280: add FrontendMetadata
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / TransactionOperation.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.cluster.datastore;
9
10 /**
11  * Abstract superclass for transaction operations which should be executed
12  * on a {@link TransactionContext} at a later point in time.
13  */
14 abstract class TransactionOperation {
15     /**
16      * Execute the delayed operation.
17      *
18      * @param transactionContext
19      */
20     protected abstract void invoke(TransactionContext transactionContext);
21 }