Class ThreePhaseCommitCohortProxy
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.AbstractThreePhaseCommitCohort<akka.actor.ActorSelection>
-
- org.opendaylight.controller.cluster.datastore.ThreePhaseCommitCohortProxy
-
- All Implemented Interfaces:
org.opendaylight.mdsal.dom.spi.store.DOMStoreThreePhaseCommitCohort
public class ThreePhaseCommitCohortProxy extends AbstractThreePhaseCommitCohort<akka.actor.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_VOID_SUCCESS
-
-
Constructor Summary
Constructors Constructor Description ThreePhaseCommitCohortProxy(ActorUtils actorUtils, List<org.opendaylight.controller.cluster.datastore.ThreePhaseCommitCohortProxy.CohortInfo> cohorts, org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier transactionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<Void>abort()com.google.common.util.concurrent.ListenableFuture<Boolean>canCommit()com.google.common.util.concurrent.ListenableFuture<Void>commit()com.google.common.util.concurrent.ListenableFuture<Void>preCommit()
-
-
-
Constructor Detail
-
ThreePhaseCommitCohortProxy
public ThreePhaseCommitCohortProxy(ActorUtils actorUtils, List<org.opendaylight.controller.cluster.datastore.ThreePhaseCommitCohortProxy.CohortInfo> cohorts, org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier transactionId)
-
-
Method Detail
-
canCommit
public com.google.common.util.concurrent.ListenableFuture<Boolean> canCommit()
-
preCommit
public com.google.common.util.concurrent.ListenableFuture<Void> preCommit()
-
abort
public com.google.common.util.concurrent.ListenableFuture<Void> abort()
-
commit
public com.google.common.util.concurrent.ListenableFuture<Void> commit()
-
-