Class OpsManager
- java.lang.Object
-
- akka.actor.AbstractActor
-
- org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
-
- org.opendaylight.controller.remote.rpc.OpsManager
-
- All Implemented Interfaces:
akka.actor.Actor
,ExecuteInSelfActor
public class OpsManager extends AbstractUntypedActor
This class acts as a supervisor, creates all the actors, resumes them, if an exception is thrown. It also registersOpsListener
with the localDOMRpcService
.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
LOG
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleReceive(Object message)
Receive and handle an incoming message.void
postStop()
void
preStart()
static akka.actor.Props
props(DOMRpcProviderService rpcProvisionRegistry, DOMRpcService rpcServices, RemoteOpsProviderConfig config, DOMActionProviderService actionProviderService, DOMActionService actionService)
akka.actor.SupervisorStrategy
supervisorStrategy()
-
Methods inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
createReceive, executeInSelf, ignoreMessage, isValidSender, unknownMessage
-
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, receive, receiveBuilder, self, sender, unhandled
-
-
-
-
Method Detail
-
props
public static akka.actor.Props props(DOMRpcProviderService rpcProvisionRegistry, DOMRpcService rpcServices, RemoteOpsProviderConfig config, DOMActionProviderService actionProviderService, DOMActionService actionService)
-
preStart
public void preStart() throws Exception
- Specified by:
preStart
in interfaceakka.actor.Actor
- Overrides:
preStart
in classakka.actor.AbstractActor
- Throws:
Exception
-
postStop
public void postStop() throws Exception
- Specified by:
postStop
in interfaceakka.actor.Actor
- Overrides:
postStop
in classakka.actor.AbstractActor
- Throws:
Exception
-
handleReceive
protected void handleReceive(Object message)
Description copied from class:AbstractUntypedActor
Receive and handle an incoming message. If the implementation does not handle this particular message, it should callAbstractUntypedActor.ignoreMessage(Object)
orAbstractUntypedActor.unknownMessage(Object)
.- Specified by:
handleReceive
in classAbstractUntypedActor
- Parameters:
message
- the incoming message
-
supervisorStrategy
public akka.actor.SupervisorStrategy supervisorStrategy()
- Specified by:
supervisorStrategy
in interfaceakka.actor.Actor
- Overrides:
supervisorStrategy
in classakka.actor.AbstractActor
-
-