PHP Class Phastlight\Module\Cluster\Cluster

Inheritance: extends Phastlight\EventEmitter
Afficher le fichier Open project: phastlight/phastlight

Méthodes publiques

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

Method Details

__construct() public méthode

all workers in this cluster
public __construct ( )

fork() public méthode

public fork ( $workerClosure, $numOfWorkers )

getAllWorkers() public méthode

public getAllWorkers ( )

getPId() public méthode

public getPId ( )

getWorkerByPid() public méthode

public getWorkerByPid ( $pid )