ProcessIdentity
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.
at line 40
static ProcessIdentity
taskWorker(int $workerId)
Create a task-worker identity.
at line 48
static ProcessIdentity
serverProcess(string $class, string $name, int $index)
Create a custom server-process identity.
at line 61
static ProcessIdentity
cli()
Create a standalone CLI identity.
at line 69
string
stableId()
Return the stable identity segment within this application instance.
at line 82
array
resourceAttributes()
Return Hypervel-specific resource attributes.