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.ReceiveNested 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 voidhandleReceive(Object message) Receive and handle an incoming message.voidpostStop()voidpreStart()static org.apache.pekko.actor.Propsprops(Path directory, DOMRpcProviderService rpcProvisionRegistry, DOMRpcService rpcServices, RemoteOpsProviderConfig config, DOMActionProviderService actionProviderService, DOMActionService actionService) static org.apache.pekko.actor.Propsprops(DOMRpcProviderService rpcProvisionRegistry, DOMRpcService rpcServices, RemoteOpsProviderConfig config, DOMActionProviderService actionProviderService, DOMActionService actionService) org.apache.pekko.actor.SupervisorStrategyMethods inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
createReceive, executeInSelf, getContext, ignoreMessage, isValidSender, unknownMessageMethods 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:
preStartin interfaceorg.apache.pekko.actor.Actor- Overrides:
preStartin classorg.apache.pekko.actor.AbstractActor- Throws:
Exception
-
postStop
- Specified by:
postStopin interfaceorg.apache.pekko.actor.Actor- Overrides:
postStopin classorg.apache.pekko.actor.AbstractActor- Throws:
Exception
-
handleReceive
Description copied from class:AbstractUntypedActorReceive and handle an incoming message. If the implementation does not handle this particular message, it should callAbstractUntypedActor.ignoreMessage(Object)orAbstractUntypedActor.unknownMessage(Object).- Specified by:
handleReceivein classAbstractUntypedActor- Parameters:
message- the incoming message
-
supervisorStrategy
public org.apache.pekko.actor.SupervisorStrategy supervisorStrategy()- Specified by:
supervisorStrategyin interfaceorg.apache.pekko.actor.Actor- Overrides:
supervisorStrategyin classorg.apache.pekko.actor.AbstractActor
-