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%2FClientRequestTracker.java;h=0f14844d5666e5ee6f73f3d7cb005b607c41b3a7;hb=4ecb8ecaf04594b3312a44d801423f515ea445b3;hp=af6f1d453ab59e6d4a1dc8212e9678c17eb01a73;hpb=81236f34ad88ffcb71c8d7cdb15b82bad2e50251;p=controller.git diff --git a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ClientRequestTracker.java b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ClientRequestTracker.java index af6f1d453a..0f14844d56 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ClientRequestTracker.java +++ b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ClientRequestTracker.java @@ -9,24 +9,28 @@ package org.opendaylight.controller.cluster.raft; import akka.actor.ActorRef; +import org.opendaylight.yangtools.concepts.Identifier; public interface ClientRequestTracker { /** + * Returns the client actor that should be sent a response when consensus is achieved. * - * @return the client actor that should be sent a response when consensus is achieved + * @return the client actor */ ActorRef getClientActor(); /** + * Returns the identifier of the object that is to be replicated. For example a transaction identifier in the case + * of a transaction. * - * @return the identifier of the object that is to be replicated. For example a transaction identifier in the case - * of a transaction + * @return the identifier */ - String getIdentifier(); + Identifier getIdentifier(); /** + * Returns the index of the log entry that is to be replicated. * - * @return the index of the log entry that is to be replicated + * @return the index */ long getIndex();