PHP Class Aerys\WatcherProcess

Inheritance: extends Process
ファイルを表示 Open project: amphp/aerys

Public Methods

Method Description
__construct ( Psr\Log\LoggerInterface $logger )
restart ( )

Protected Methods

Method Description
doStart ( Console $console ) : Generator
doStop ( ) : Generator
recommendAssertionSetting ( )
recommendLogLevel ( Console $console )

Private Methods

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

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

doStart() protected method

protected doStart ( Console $console ) : Generator
$console Console
return Generator

doStop() protected method

protected doStop ( ) : Generator
return Generator

recommendAssertionSetting() protected method

recommendLogLevel() protected method

protected recommendLogLevel ( Console $console )
$console Console

restart() public method

public restart ( )