Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use instanceof pattern
[controller.git]
/
opendaylight
/
md-sal
/
sal-akka-raft
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
raft
/
ClientRequestTracker.java
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 af6f1d453ab59e6d4a1dc8212e9678c17eb01a73..0f14844d5666e5ee6f73f3d7cb005b607c41b3a7 100644
(file)
--- 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;
package org.opendaylight.controller.cluster.raft;
import akka.actor.ActorRef;
+import org.opendaylight.yangtools.concepts.Identifier;
public interface ClientRequestTracker {
/**
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();
/**
*/
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();
*/
long getIndex();