PHP Class Altax\Module\Task\Process\Executor

Afficher le fichier Open project: kohkimakimoto/altax Class Usage Examples

Protected Properties

Свойство Type Description
$childPids
$closure
$isParallel
$options
$runtimeTask

Méthodes publiques

Méthode Description
__construct ( $runtimeTask, $closure, $options )
askPassphrase ( $validatingKey ) : string Ask SSH key passphrase.
execute ( )
getIsParallel ( )
getNodes ( )
killAllChildren ( )
setIsParallel ( $isParallel )
signalHandler ( $signo )

Méthodes protégées

Méthode Description
doExecute ( $node )
killProcess ( $pid )
loadNodes ( array $args ) : array Load nods from variable length argument lists same 'on' and 'for' method.

Method Details

__construct() public méthode

public __construct ( $runtimeTask, $closure, $options )

askPassphrase() public méthode

Ask SSH key passphrase.
public askPassphrase ( $validatingKey ) : string
Résultat string passphrase

doExecute() protected méthode

protected doExecute ( $node )

execute() public méthode

public execute ( )

getIsParallel() public méthode

public getIsParallel ( )

getNodes() public méthode

public getNodes ( )

killAllChildren() public méthode

public killAllChildren ( )

killProcess() protected méthode

protected killProcess ( $pid )

loadNodes() protected méthode

Load nods from variable length argument lists same 'on' and 'for' method.
protected loadNodes ( array $args ) : array
$args array
Résultat array Array of Altax\Module\Server\Resource\Node

setIsParallel() public méthode

public setIsParallel ( $isParallel )

signalHandler() public méthode

public signalHandler ( $signo )

Property Details

$childPids protected_oe property

protected $childPids

$closure protected_oe property

protected $closure

$isParallel protected_oe property

protected $isParallel

$options protected_oe property

protected $options

$runtimeTask protected_oe property

protected $runtimeTask