PHP Class Comos\Qpm\Supervision\ProcessStub

Show file Open project: comos/qpm

Public Methods

Method Description
__construct ( Process $process, Config $config, $groupId = null, float $startTime = null )
dealWithTimeout ( ) : boolean
getConfig ( ) : Config
getGroupId ( )
getProcess ( ) : Process
getStartTime ( ) : float
isTimeout ( ) : boolean

Protected Methods

Method Description
dealWithTermTimeout ( )

Private Methods

Method Description
invokeOnTimeout ( ) : boolean

Method Details

__construct() public method

public __construct ( Process $process, Config $config, $groupId = null, float $startTime = null )
$process Comos\Qpm\Process\Process
$config Config
$startTime float

dealWithTermTimeout() protected method

protected dealWithTermTimeout ( )

dealWithTimeout() public method

public dealWithTimeout ( ) : boolean
return boolean

getConfig() public method

public getConfig ( ) : Config
return Config

getGroupId() public method

public getGroupId ( )

getProcess() public method

public getProcess ( ) : Process
return Comos\Qpm\Process\Process

getStartTime() public method

public getStartTime ( ) : float
return float

isTimeout() public method

public isTimeout ( ) : boolean
return boolean