PHP 클래스 Jenner\SimpleFork\FixedPool

상속: extends AbstractPool
파일 보기 프로젝트 열기: huyanping/simple-fork-php

보호된 프로퍼티들

프로퍼티 타입 설명
$max max process count

공개 메소드들

메소드 설명
__construct ( integer $max = 4 )
execute ( Process $process )
wait ( boolean $block = false, integer $interval = 100 ) wait for all process done

메소드 상세

__construct() 공개 메소드

public __construct ( integer $max = 4 )
$max integer

execute() 공개 메소드

public execute ( Process $process )
$process Process

wait() 공개 메소드

wait for all process done
public wait ( boolean $block = false, integer $interval = 100 )
$block boolean block the master process to keep the sub process count all the time
$interval integer check time interval

프로퍼티 상세

$max 보호되어 있는 프로퍼티

max process count
protected $max