public final class RoleChangeListenerActor
extends org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
LeaderLocationListener. It subscribes for LeaderStateChanged
notifications in its pre start hook and translates them to
LeaderLocationListener.onLeaderLocationChanged(LeaderLocation)
events.| Modifier and Type | Method and Description |
|---|---|
protected void |
handleReceive(Object message) |
void |
preStart() |
static akka.actor.Props |
props(akka.actor.ActorRef roleChangeNotifier,
org.opendaylight.controller.cluster.dom.api.LeaderLocationListener listener) |
executeInSelf, ignoreMessage, isValidSender, onReceive, unknownMessageakka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, getContext, getSelf, getSender, postRestart, postStop, preRestart, receive, self, sender, supervisorStrategy, unhandledpublic void preStart()
throws Exception
preStart in interface akka.actor.ActorpreStart in class akka.actor.UntypedActorExceptionprotected void handleReceive(Object message) throws Exception
handleReceive in class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActorExceptionpublic static akka.actor.Props props(akka.actor.ActorRef roleChangeNotifier,
org.opendaylight.controller.cluster.dom.api.LeaderLocationListener listener)
Copyright © 2018 OpenDaylight. All rights reserved.