PHP Class Deployer\Executor\ParallelExecutor

Inheritance: implements Deployer\Executor\ExecutorInterface
Afficher le fichier Open project: elfet/deployer

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Console\Input\InputDefinition $userDefinition )
catchExceptions ( ) Wait for exceptions from workers.
catchOutput ( ) Wait for output from workers.
idle ( ) While idle master, print information about finished tasks.
run ( $tasks, $servers, $environments, $input, $output )
sendTasks ( ) Action time for master! Send tasks to-do for workers and go to sleep.
startWorkers ( ) Start workers, put master port, server name to run on, and options stuff.

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Console\Input\InputDefinition $userDefinition )
$userDefinition Symfony\Component\Console\Input\InputDefinition

catchExceptions() public méthode

Wait for exceptions from workers.
public catchExceptions ( )

catchOutput() public méthode

Wait for output from workers.
public catchOutput ( )

idle() public méthode

While idle master, print information about finished tasks.
public idle ( )

run() public méthode

public run ( $tasks, $servers, $environments, $input, $output )

sendTasks() public méthode

Also decide when to stop server/loop.
public sendTasks ( )

startWorkers() public méthode

Start workers, put master port, server name to run on, and options stuff.
public startWorkers ( )