package framework
- Alphabetic
- Public
- Protected
Type Members
- case class Component extends Product with Serializable
A class that represents a logical component with it's supervisor actor reference and it's meta information
- final case class ComponentInfo(prefix: Prefix, componentType: ComponentType, componentHandlerClassName: String, locationServiceUsage: LocationServiceUsage, connections: Set[Connection] = Set.empty, initializeTimeout: FiniteDuration = 10.seconds) extends Product with Serializable
The information needed to create a component.
The information needed to create a component. This class is created after de-serializing the config file for the component.
- prefix
prefix for the component with
subsystem
andname
- componentType
: the type of the component as defined by csw.location.api.models.ComponentType
- componentHandlerClassName
: specifies the component to be created by name of the class of it's handlers
- locationServiceUsage
: specifies component's usage of location service
- connections
: set of connections that will be used by this component for interaction
- initializeTimeout
: the timeout value used while initializing a component
- case class Components(components: Set[Component]) extends CommandSerializable with Product with Serializable
Represents a collection of components created in a single container
Represents a collection of components created in a single container
- components
a set of components with its supervisor and componentInfo
- sealed trait ContainerLifecycleState extends CommandSerializable with EnumEntry
Lifecycle state of a container actor
- case class LifecycleStateChanged(publisher: ActorRef[ComponentMessage], state: SupervisorLifecycleState) extends CommandSerializable with Product with Serializable
LifecycleStateChanged represents a notification of state change in a component
LifecycleStateChanged represents a notification of state change in a component
- publisher
the reference of component's supervisor for which the state changed
- state
the new state the component went into
- sealed abstract class LocationServiceUsage extends EnumEntry
Describes what action to take for a component on its boot-up regarding its registration with location service.
Describes what action to take for a component on its boot-up regarding its registration with location service. This information is read from the config file for the component and used by
csw-framework
while spawning it. - sealed trait LockingResponse extends CommandSerializable
LockingResponse represents valid responses when a component requests to lock some component
- sealed trait PubSub[T] extends AnyRef
Represents the protocol or messages about publishing data and subscribing it
Represents the protocol or messages about publishing data and subscribing it
- T
represents the type of data that is published or subscribed
- sealed trait SupervisorLifecycleState extends CommandSerializable with EnumEntry
Lifecycle state of a Supervisor actor
- sealed trait ToComponentLifecycleMessage extends EnumEntry
Represents protocol or messages sent to underlying TLA component
Value Members
- object ContainerLifecycleState extends Enum[ContainerLifecycleState]
- object LifecycleStateChanged extends Serializable
- object LocationServiceUsage extends Enum[LocationServiceUsage]
- object LockingResponse
- object PubSub
- object SupervisorLifecycleState extends Enum[SupervisorLifecycleState]
- object ToComponentLifecycleMessage extends Enum[ToComponentLifecycleMessage]