Class OpsManager
java.lang.Object
org.apache.pekko.actor.AbstractActor
org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
org.opendaylight.controller.remote.rpc.OpsManager
- All Implemented Interfaces:
org.apache.pekko.actor.Actor
,ExecuteInSelfActor
This class acts as a supervisor, creates all the actors, resumes them, if an exception is thrown. It also registers
OpsListener
with the local DOMRpcService
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.actor.AbstractActor
org.apache.pekko.actor.AbstractActor.ActorContext, org.apache.pekko.actor.AbstractActor.Receive
Nested classes/interfaces inherited from interface org.apache.pekko.actor.Actor
org.apache.pekko.actor.Actor.emptyBehavior$, org.apache.pekko.actor.Actor.ignoringBehavior$
-
Field Summary
Fields inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
LOG
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleReceive
(Object message) Receive and handle an incoming message.void
postStop()
void
preStart()
static org.apache.pekko.actor.Props
props
(Path directory, DOMRpcProviderService rpcProvisionRegistry, DOMRpcService rpcServices, RemoteOpsProviderConfig config, DOMActionProviderService actionProviderService, DOMActionService actionService) static org.apache.pekko.actor.Props
props
(DOMRpcProviderService rpcProvisionRegistry, DOMRpcService rpcServices, RemoteOpsProviderConfig config, DOMActionProviderService actionProviderService, DOMActionService actionService) org.apache.pekko.actor.SupervisorStrategy
Methods inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
createReceive, executeInSelf, getContext, ignoreMessage, isValidSender, unknownMessage
Methods inherited from class org.apache.pekko.actor.AbstractActor
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, emptyBehavior, getSelf, getSender, org$apache$pekko$actor$Actor$_setter_$context_$eq, org$apache$pekko$actor$Actor$_setter_$self_$eq, postRestart, preRestart, preRestart, receive, receiveBuilder, self, sender, unhandled
-
Method Details
-
props
@NonNullByDefault public static org.apache.pekko.actor.Props props(Path directory, DOMRpcProviderService rpcProvisionRegistry, DOMRpcService rpcServices, RemoteOpsProviderConfig config, DOMActionProviderService actionProviderService, DOMActionService actionService) -
props
@NonNullByDefault public static org.apache.pekko.actor.Props props(DOMRpcProviderService rpcProvisionRegistry, DOMRpcService rpcServices, RemoteOpsProviderConfig config, DOMActionProviderService actionProviderService, DOMActionService actionService) -
preStart
- Specified by:
preStart
in interfaceorg.apache.pekko.actor.Actor
- Overrides:
preStart
in classorg.apache.pekko.actor.AbstractActor
- Throws:
Exception
-
postStop
- Specified by:
postStop
in interfaceorg.apache.pekko.actor.Actor
- Overrides:
postStop
in classorg.apache.pekko.actor.AbstractActor
- Throws:
Exception
-
handleReceive
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 org.apache.pekko.actor.SupervisorStrategy supervisorStrategy()- Specified by:
supervisorStrategy
in interfaceorg.apache.pekko.actor.Actor
- Overrides:
supervisorStrategy
in classorg.apache.pekko.actor.AbstractActor
-