X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FTransactionContext.java;h=b62b056d587b83d42a3613e2cf40db9c935d7c69;hb=b5cb353e3553a39f576c284119af75ffa5ea66a9;hp=ca03c3d60df7632792a99f15c20cb2c84eb0f35b;hpb=0281535ab08fd795e42df66d25e9a904ff941ad7;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionContext.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionContext.java index ca03c3d60d..b62b056d58 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionContext.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionContext.java @@ -26,8 +26,6 @@ interface TransactionContext { void executeRead(AbstractRead readCmd, SettableFuture promise); - boolean supportsDirectCommit(); - Future directCommit(); /** @@ -35,14 +33,16 @@ interface TransactionContext { * off operations to this context. From this point on, the context is responsible * for throttling operations. * + *

* Implementations can rely on the wrapper calling this operation in a synchronized * block, so they do not need to ensure visibility of this state transition themselves. */ void operationHandOffComplete(); /** - * A TransactionContext that uses Operation limiting should return true else false - * @return + * A TransactionContext that uses operation limiting should return true else false. + * + * @return true if operation limiting is used, false otherwise */ boolean usesOperationLimiting();