X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FLocalTransactionReadySupport.java;h=2e0dbb9fd1bbc813d15a8ede4174e60c1b8911a8;hp=e03f3d2433dc0a817e23e17e1da674ccc6ee5f0d;hb=23472d531aca7f695082a3d57719894bfa34d0ac;hpb=340a2d4c979ac6f8d5adff8bd9e1c9f724e7a164 diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/LocalTransactionReadySupport.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/LocalTransactionReadySupport.java index e03f3d2433..2e0dbb9fd1 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/LocalTransactionReadySupport.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/LocalTransactionReadySupport.java @@ -7,6 +7,8 @@ */ package org.opendaylight.controller.cluster.datastore; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; import org.opendaylight.controller.sal.core.spi.data.DOMStoreWriteTransaction; /** @@ -15,5 +17,6 @@ import org.opendaylight.controller.sal.core.spi.data.DOMStoreWriteTransaction; * @author Thomas Pantelis */ interface LocalTransactionReadySupport { - LocalThreePhaseCommitCohort onTransactionReady(DOMStoreWriteTransaction tx); + LocalThreePhaseCommitCohort onTransactionReady(@Nonnull DOMStoreWriteTransaction tx, + @Nullable Exception operationError); }