interface ProcessRepository

Methods

array
allOrphans(string $master)

Get all of the orphan process IDs and the times they were observed.

void
orphaned(string $master, array $processIds)

Record the given process IDs as orphaned.

array
orphanedFor(string $master, int $seconds)

Get the process IDs orphaned for at least the given number of seconds.

void
forgetOrphans(string $master, array $processIds)

Remove the given process IDs from the orphan list.

Details

at line 12
array allOrphans(string $master)

Get all of the orphan process IDs and the times they were observed.

Parameters

string $master

Return Value

array

at line 17
void orphaned(string $master, array $processIds)

Record the given process IDs as orphaned.

Parameters

string $master
array $processIds

Return Value

void

at line 22
array orphanedFor(string $master, int $seconds)

Get the process IDs orphaned for at least the given number of seconds.

Parameters

string $master
int $seconds

Return Value

array

at line 27
void forgetOrphans(string $master, array $processIds)

Remove the given process IDs from the orphan list.

Parameters

string $master
array $processIds

Return Value

void