public class RoleChangeNotifier extends AbstractUntypedActor implements AutoCloseable
The RoleChangeNotifier is instantiated by the Shard and injected into the RaftActor.
LOG| Constructor and Description |
|---|
RoleChangeNotifier(String memberId) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static akka.actor.Props |
getProps(String memberId) |
protected void |
handleReceive(Object message)
Receive and handle an incoming message.
|
void |
preStart() |
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 RoleChangeNotifier(String memberId)
public static akka.actor.Props getProps(String memberId)
public void preStart()
throws Exception
preStart in interface akka.actor.ActorpreStart in class akka.actor.UntypedActorExceptionprotected void handleReceive(Object message)
AbstractUntypedActorAbstractUntypedActor.ignoreMessage(Object) or AbstractUntypedActor.unknownMessage(Object).handleReceive in class AbstractUntypedActormessage - the incoming messagepublic void close()
close in interface AutoCloseableCopyright © 2019 OpenDaylight. All rights reserved.