Class SupervisorInfo

java.lang.Object
csw.command.client.models.framework.SupervisorInfo
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public class SupervisorInfo extends Object implements scala.Product, Serializable
SupervisorInfo is used by container while spawning multiple components

param: 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:
  • Constructor Summary

    Constructors
    Constructor
    Description
    SupervisorInfo(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> system, Component component)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2)
     
     
    akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command>
     
    static String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • SupervisorInfo

      public SupervisorInfo(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> system, Component component)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2)
    • toString

      public static String toString()
    • system

      public akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> system()
    • component

      public Component component()