Module system_actor

Source
Expand description

System actor manages a system.

Structs§

HostId
A host id that is used to identify a host.
ReportingRouter
A mailbox router that forwards messages to their destinations and additionally reports the destination address back to the sender’s ProcActor, allowing it to cache the address for future use.
SystemActor
The system actor manages the whole system. It is responsible for managing the systems’ worlds, and for managing their constituent procs. The system actor also provides a central mailbox that can route messages to any live actor in the system.
SystemActorParams
TODO: add misssing doc
SystemSnapshot
A snapshot view of the system.
SystemSnapshotFilter
A filter used to filter the snapshot view of the system.
World
TODO: Toss this world implementation away once we have a more clearly defined allocation API. Currently, each world in a system has two worlds beneath: the actual world and the shadow world. The shadow world is a world that is used to maintain hosts which in turn spawn procs for the world. This is needed in order to support the current scheduler implementation which does not support per-proc scheduling.
WorldSnapshot
A snapshot view of a world in the system.
WorldSnapshotProcInfo
A snapshot of a single proc.

Enums§

ProcLifecycleMode
The proc’s lifecyle management mode.
Shape
TODO: add missing doc
SystemActorError
Errors that can occur inside a system actor.
SystemMessage
System messages.
WorldStatus
A world status represents the different phases of a world.

Statics§

SYSTEM_ACTOR_REF
The ref corresponding to the well known [ID].
SYSTEM_WORLD
The well known ID of the world that hosts the system actor, it is always system.

Traits§

SystemMessageClient
The custom client trait for this message type.
SystemMessageHandler
The custom handler trait for this message type.

Type Aliases§

HostWorldId
A world id that is used to identify a host.