PHP Class Phastlight\Module\Cluster\Cluster

Inheritance: extends Phastlight\EventEmitter
Datei anzeigen Open project: phastlight/phastlight

Public Methods

Method Description
__construct ( ) all workers in this cluster
fork ( $workerClosure, $numOfWorkers )
getAllWorkers ( )
getPId ( )
getWorkerByPid ( $pid )

Method Details

__construct() public method

all workers in this cluster
public __construct ( )

fork() public method

public fork ( $workerClosure, $numOfWorkers )

getAllWorkers() public method

public getAllWorkers ( )

getPId() public method

public getPId ( )

getWorkerByPid() public method

public getWorkerByPid ( $pid )