2 * Copyright (c) 2015 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.vpnservice.datastoreutils;
11 import com.google.common.util.concurrent.ListenableFuture;
13 import java.util.List;
14 import java.util.concurrent.Callable;
16 public abstract class RollbackCallable implements Callable<List<ListenableFuture<Void>>> {
18 private List<ListenableFuture<Void>> futures;
20 public RollbackCallable() {
23 public List<ListenableFuture<Void>> getFutures() {
27 public void setFutures(List<ListenableFuture<Void>> futures) {
28 this.futures = futures;