PlatformHealthService
in package
implements
PlatformHealthCheckerInterface
Checks platform metadata database availability with optional bounded retry.
Table of Contents
Interfaces
- PlatformHealthCheckerInterface
- Reports platform metadata database availability for tenant-aware entry points.
Properties
- $connectionName : string
- $retryAttempts : int
- $retryDelayMs : int
Methods
- __construct() : mixed
- Constructor.
- check() : PlatformHealthStatus
- Check platform metadata database availability.
- delayRetry() : void
- Delay between configured retry attempts.
- probe() : void
- Execute a minimal availability probe.
Properties
$connectionName read-only
private
string
$connectionName
= 'platform'
$retryAttempts read-only
private
int
$retryAttempts
= 0
$retryDelayMs read-only
private
int
$retryDelayMs
= 0
Methods
__construct()
Constructor.
public
__construct([string $connectionName = 'platform' ][, int $retryAttempts = 0 ][, int $retryDelayMs = 0 ]) : mixed
Parameters
- $connectionName : string = 'platform'
-
Platform datasource alias
- $retryAttempts : int = 0
-
Number of retry attempts after the first failure
- $retryDelayMs : int = 0
-
Delay between retries in milliseconds
check()
Check platform metadata database availability.
public
check() : PlatformHealthStatus
Tags
Return values
PlatformHealthStatusdelayRetry()
Delay between configured retry attempts.
private
delayRetry() : void
probe()
Execute a minimal availability probe.
private
probe() : void