PHP Class Deployer\Executor\ParallelExecutor

Inheritance: implements Deployer\Executor\ExecutorInterface
Exibir arquivo Open project: elfet/deployer

Public Methods

Method 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 method

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

catchExceptions() public method

Wait for exceptions from workers.
public catchExceptions ( )

catchOutput() public method

Wait for output from workers.
public catchOutput ( )

idle() public method

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

run() public method

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

sendTasks() public method

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

startWorkers() public method

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