Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
gilour
/
laravel
/
horizon
/
src
/
Contracts
:
ProcessRepository.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Laravel\Horizon\Contracts; interface ProcessRepository { /** * Get all of the orphan process IDs and the times they were observed. * * @param string $master * @return array */ public function allOrphans($master); /** * Record the given process IDs as orphaned. * * @param string $master * @param array $processIds * @return array */ public function orphaned($master, array $processIds); /** * Get the process IDs orphaned for at least the given number of seconds. * * @param string $master * @param int $seconds * @return array */ public function orphanedFor($master, $seconds); /** * Remove the given process IDs from the orphan list. * * @param string $master * @param array $processIds * @return void */ public function forgetOrphans($master, array $processIds); }