X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft-example%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fexample%2FExampleRoleChangeListener.java;h=f6930e8b09656cf59e48aa5a85d0b6ebb9c2c72f;hp=29e8a477e87e643a0ef5435402c8b422aa806a39;hb=a81d98f692b80c45bce3fe6a87e731abfb012a9f;hpb=8d8e440aa795660349714241ec64fdf4b462b378;ds=sidebyside diff --git a/opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/ExampleRoleChangeListener.java b/opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/ExampleRoleChangeListener.java index 29e8a477e8..f6930e8b09 100644 --- a/opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/ExampleRoleChangeListener.java +++ b/opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/ExampleRoleChangeListener.java @@ -24,11 +24,11 @@ import scala.concurrent.duration.FiniteDuration; /** * This is a sample implementation of a Role Change Listener which is an actor, which registers itself to the ClusterRoleChangeNotifier - *

+ *

* The Role Change listener receives a SetNotifiers message with the notifiers to register itself with. - *

+ *

* It kicks of a scheduler which sents registration messages to the notifiers, till it gets a RegisterRoleChangeListenerReply - *

+ *

* If all the notifiers have been regsitered with, then it cancels the scheduler. * It starts the scheduler again when it receives a new registration *