Class ThreePhaseCommitCohortProxy
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.AbstractThreePhaseCommitCohort<ActorSelection>
-
- org.opendaylight.controller.cluster.datastore.ThreePhaseCommitCohortProxy
-
- All Implemented Interfaces:
DOMStoreThreePhaseCommitCohort
public class ThreePhaseCommitCohortProxy extends AbstractThreePhaseCommitCohort<ActorSelection>
ThreePhaseCommitCohortProxy represents a set of remote cohort proxies.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.controller.cluster.datastore.AbstractThreePhaseCommitCohort
IMMEDIATE_BOOLEAN_SUCCESS, IMMEDIATE_EMPTY_SUCCESS
-
-
Constructor Summary
Constructors Constructor Description ThreePhaseCommitCohortProxy(ActorUtils actorUtils, List<org.opendaylight.controller.cluster.datastore.ThreePhaseCommitCohortProxy.CohortInfo> cohorts, TransactionIdentifier transactionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenableFuture<Empty>
abort()
ListenableFuture<Boolean>
canCommit()
ListenableFuture<? extends CommitInfo>
commit()
ListenableFuture<Empty>
preCommit()
-
-
-
Constructor Detail
-
ThreePhaseCommitCohortProxy
public ThreePhaseCommitCohortProxy(ActorUtils actorUtils, List<org.opendaylight.controller.cluster.datastore.ThreePhaseCommitCohortProxy.CohortInfo> cohorts, TransactionIdentifier transactionId)
-
-
Method Detail
-
canCommit
public ListenableFuture<Boolean> canCommit()
-
preCommit
public ListenableFuture<Empty> preCommit()
-
abort
public ListenableFuture<Empty> abort()
-
commit
public ListenableFuture<? extends CommitInfo> commit()
-
-