final class ProcessIdentity

Constants

EVENT

TASK

PROCESS

CLI

Methods

static ProcessIdentity
eventWorker(int $workerId)

Create an event-worker identity.

static ProcessIdentity
taskWorker(int $workerId)

Create a task-worker identity.

static ProcessIdentity
serverProcess(string $class, string $name, int $index)

Create a custom server-process identity.

static ProcessIdentity
cli()

Create a standalone CLI identity.

string
stableId()

Return the stable identity segment within this application instance.

array
resourceAttributes()

Return Hypervel-specific resource attributes.

Details

at line 32
static ProcessIdentity eventWorker(int $workerId)

Create an event-worker identity.

Parameters

int $workerId

Return Value

ProcessIdentity

at line 40
static ProcessIdentity taskWorker(int $workerId)

Create a task-worker identity.

Parameters

int $workerId

Return Value

ProcessIdentity

at line 48
static ProcessIdentity serverProcess(string $class, string $name, int $index)

Create a custom server-process identity.

Parameters

string $class
string $name
int $index

Return Value

ProcessIdentity

at line 61
static ProcessIdentity cli()

Create a standalone CLI identity.

Return Value

ProcessIdentity

at line 69
string stableId()

Return the stable identity segment within this application instance.

Return Value

string

at line 82
array resourceAttributes()

Return Hypervel-specific resource attributes.

Return Value

array