Raxol.Core.ServerRegistry (Raxol v2.0.1)
View SourceCentralized registry and supervisor for all Raxol GenServers.
Provides unified lifecycle management, health monitoring, and graceful shutdown coordination for all server processes in the system.
Features
- Unified Supervision: Single supervisor for all system servers
- Health Monitoring: Built-in health checks and recovery
- Graceful Shutdown: Coordinated shutdown with dependency handling
- Server Discovery: Registry for finding and communicating with servers
- Performance Monitoring: Server performance metrics and alerts
Server Categories
- Core Servers: State management, events, configuration
- UI Servers: Theme management, accessibility, i18n
- Terminal Servers: Buffer management, emulation, parsing
- Plugin Servers: Plugin lifecycle, sandboxing, communication
Summary
Functions
Returns a specification to start this module under a supervisor.
Get a server process by name.
Gracefully shutdown all servers in dependency order.
Check if a server is healthy and responding.
Get health status of all registered servers.
Types
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec get_server(server_name()) :: pid() | nil
Get a server process by name.
@spec graceful_shutdown(timeout()) :: :ok
Gracefully shutdown all servers in dependency order.
@spec health_check(server_name()) :: :ok | :error
Check if a server is healthy and responding.
@spec health_status() :: %{required(server_name()) => :ok | :error}
Get health status of all registered servers.