2 * Copyright (c) 2015, 2017 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
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
9 package org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md;
11 import com.google.common.util.concurrent.ListenableFuture;
12 import org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction;
14 public interface TransactionCommand {
16 void execute(ReadWriteTransaction transaction);
19 * Sets the result future of the executed/submitted transaction.
21 default void setTransactionResultFuture(ListenableFuture future) {
24 default ListenableFuture getTransactionResultFuture() {