KMP PHP API Reference

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

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

On this page

Search results