PHP Class Comos\Qpm\Supervision\Supervisor

显示文件 Open project: comos/qpm Class Usage Examples

Public Methods

Method Description
__construct ( $keeper )
getKeeper ( )
multiGroupOneForOne ( $configs ) : Supervisor
oneForOne ( $config ) : Supervisor
registerSignalHandler ( )
start ( )
stop ( )
taskFactoryMode ( $conf )

Private Methods

Method Description
_oneForOne ( $configs ) : Supervisor

Method Details

__construct() public method

public __construct ( $keeper )

getKeeper() public method

public getKeeper ( )

multiGroupOneForOne() public static method

public static multiGroupOneForOne ( $configs ) : Supervisor
return Supervisor

oneForOne() public static method

public static oneForOne ( $config ) : Supervisor
return Supervisor

registerSignalHandler() public method

start() public method

public start ( )

stop() public method

public stop ( )

taskFactoryMode() public static method

public static taskFactoryMode ( $conf )