Class QuarantinedMonitorActor
- java.lang.Object
-
- akka.actor.AbstractActor
-
- akka.actor.UntypedAbstractActor
-
- org.opendaylight.controller.cluster.common.actor.QuarantinedMonitorActor
-
- All Implemented Interfaces:
Actor
public class QuarantinedMonitorActor extends UntypedAbstractActor
This class listens to Akka RemotingLifecycleEvent events to detect when this node has been quarantined by another. Once this node gets quarantined, restart the ActorSystem to allow this node to rejoin the cluster.- Author:
- Gary Wu [email protected]
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.actor.AbstractActor
AbstractActor.ActorContext, AbstractActor.Receive
-
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
QuarantinedMonitorActor(Effect callback)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onReceive(Object message)
void
postStop()
static Props
props(Effect callback)
-
Methods inherited from class akka.actor.UntypedAbstractActor
createReceive, receive, unhandled
-
Methods inherited from class akka.actor.AbstractActor
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, emptyBehavior, getContext, getSelf, getSender, postRestart, preRestart, preRestart, preStart, receiveBuilder, self, sender, supervisorStrategy
-
-
-
-
Field Detail
-
ADDRESS
public static final String ADDRESS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
QuarantinedMonitorActor
protected QuarantinedMonitorActor(Effect callback)
-
-
Method Detail
-
postStop
public void postStop()
- Specified by:
postStop
in interfaceActor
- Overrides:
postStop
in classAbstractActor
-
onReceive
public void onReceive(Object message) throws Exception
- Specified by:
onReceive
in classUntypedAbstractActor
- Throws:
Exception
-
-