Nexus API Reference

HealthCheckRegistry
in package

FinalYes
Tags
psalm-api

Aggregates HealthCheck implementations. The HealthCheckHandler walks the registry on every /health request, runs each check, and assembles the overall status.

Mutable on purpose — checks are usually registered at boot, before the application starts serving, and the registry is then read-only for the worker's lifetime.

Table of Contents

Methods

add()  : self
all()  : array<int, HealthCheck>

Methods


        
On this page

Search results