PHP Class Aerys\WatcherProcess

Inheritance: extends Process
Afficher le fichier Open project: amphp/aerys

Méthodes publiques

Méthode Description
__construct ( Psr\Log\LoggerInterface $logger )
restart ( )

Méthodes protégées

Méthode Description
doStart ( Console $console ) : Generator
doStop ( ) : Generator
recommendAssertionSetting ( )
recommendLogLevel ( Console $console )

Private Methods

Méthode Description
accept ( $watcherId, $ipcServer )
acceptCommand ( $watcherId, $commandServer )
bindCommandServer ( string $config )
bindIpcServer ( )
canReusePort ( )
checkCommands ( Console $console )
collectProcessGarbage ( )
commandParser ( $client ) : Generator
countCpuCores ( )
determineWorkerCount ( Console $console )
generateWorkerCommand ( Console $console ) : string
onDeadIpcClient ( string $readWatcherId, $ipcClient )
parser ( $ipcClient ) : Generator
spawn ( )

Method Details

__construct() public méthode

public __construct ( Psr\Log\LoggerInterface $logger )
$logger Psr\Log\LoggerInterface

doStart() protected méthode

protected doStart ( Console $console ) : Generator
$console Console
Résultat Generator

doStop() protected méthode

protected doStop ( ) : Generator
Résultat Generator

recommendAssertionSetting() protected méthode

recommendLogLevel() protected méthode

protected recommendLogLevel ( Console $console )
$console Console

restart() public méthode

public restart ( )