Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "BUG-2627: do not duplicate descriptions"
[controller.git]
/
opendaylight
/
md-sal
/
sal-akka-raft
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
raft
/
behaviors
/
RaftActorBehavior.java
diff --git
a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/RaftActorBehavior.java
b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/RaftActorBehavior.java
index ca2d916ecf619ae61b8b627c2e10181d075a187a..064cd8b88c8b68152f04cdc25378c792eb263a7b 100644
(file)
--- a/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/RaftActorBehavior.java
+++ b/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/RaftActorBehavior.java
@@
-25,17
+25,18
@@
import org.opendaylight.controller.cluster.raft.RaftState;
* differently.
*/
public interface RaftActorBehavior extends AutoCloseable{
* differently.
*/
public interface RaftActorBehavior extends AutoCloseable{
+
/**
* Handle a message. If the processing of the message warrants a state
/**
* Handle a message. If the processing of the message warrants a state
- * change then a new
state
should be returned otherwise this method should
- * return the
state for the
current behavior.
+ * change then a new
behavior
should be returned otherwise this method should
+ * return the current behavior.
*
* @param sender The sender of the message
* @param message A message that needs to be processed
*
*
* @param sender The sender of the message
* @param message A message that needs to be processed
*
- * @return The new
state or self (this)
+ * @return The new
behavior or current behavior
*/
*/
- Raft
State
handleMessage(ActorRef sender, Object message);
+ Raft
ActorBehavior
handleMessage(ActorRef sender, Object message);
/**
* The state associated with a given behavior
/**
* The state associated with a given behavior