Merge "Bug 2933: BidningDOMDataBrokerAdaper implements DataTreeChangeService"
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / AbstractThreePhaseCommitCohort.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 import akka.actor.ActorSelection;
11 import java.util.List;
12 import org.opendaylight.controller.sal.core.spi.data.DOMStoreThreePhaseCommitCohort;
13 import scala.concurrent.Future;
14
15 /**
16  * Abstract base class for {@link DOMStoreThreePhaseCommitCohort} instances returned by this
17  * implementation. In addition to the usual set of methods it also contains the list of actor
18  * futures.
19  */
20 abstract class AbstractThreePhaseCommitCohort implements DOMStoreThreePhaseCommitCohort {
21     abstract List<Future<ActorSelection>> getCohortFutures();
22 }