Class SupervisorInfo
- java.lang.Object
-
- csw.command.client.models.framework.SupervisorInfo
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public class SupervisorInfo extends java.lang.Object implements scala.Product, java.io.Serializable
SupervisorInfo is used by container while spawning multiple componentsparam: system an ActorSystem used for spawning actors of a component. Each component has it's own actorSystem. The container keeps all the actorSystems for all components with it and shuts them down when a Shutdown message is received by a container. param: component represents a supervisor actor reference and componentInfo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SupervisorInfo(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> system, Component component)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static R
apply(T1 v1, T2 v2)
Component
component()
akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command>
system()
static java.lang.String
toString()
-
-
-
Constructor Detail
-
SupervisorInfo
public SupervisorInfo(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> system, Component component)
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1, T2 v2)
-
toString
public static java.lang.String toString()
-
system
public akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> system()
-
component
public Component component()
-
-