Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Configuration Interface for Raft
[controller.git]
/
opendaylight
/
md-sal
/
sal-akka-raft
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
raft
/
messages
/
AbstractRaftRPC.java
diff --git
a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/AbstractRaftRPC.java
b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/AbstractRaftRPC.java
index 3cafda9a156e9b370a1cacbcad3d3047a355a0ec..33d8a6868680e03e09155332fc89b6089231bd19 100644
(file)
--- a/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/AbstractRaftRPC.java
+++ b/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/AbstractRaftRPC.java
@@
-16,9
+16,15
@@
public class AbstractRaftRPC implements RaftRPC {
this.term = term;
}
+ // added for testing while serialize-messages=on
+ public AbstractRaftRPC() {
+ }
+
public long getTerm() {
return term;
}
-
+ public void setTerm(long term) {
+ this.term = term;
+ }
}