X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2FReplicatedLog.java;h=707c128098be446eb1422c0e03be90527d3a0743;hb=ff61d45f1244acba2ae41a62084d1193943bd6d1;hp=71576f6d21b71fd02704e50d74e431f16a641f50;hpb=ce2c9e8b87cfc3543cca263d4aa3143a0a0397a2;p=controller.git diff --git a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ReplicatedLog.java b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ReplicatedLog.java index 71576f6d21..707c128098 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ReplicatedLog.java +++ b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ReplicatedLog.java @@ -94,7 +94,8 @@ public interface ReplicatedLog { * @param callback the Procedure to be notified when persistence is complete (optional). * @param doAsync if true, the persistent actor can receive subsequent messages to process in between the persist * call and the execution of the associated callback. If false, subsequent messages are stashed and get - * delivered after persistence is complete and the associated callback is executed. + * delivered after persistence is complete and the associated callback is executed. In either case the + * callback is guaranteed to execute in the context of the actor associated with this log. * @return true if the entry was successfully appended, false otherwise. */ boolean appendAndPersist(@Nonnull ReplicatedLogEntry replicatedLogEntry,