PHP 클래스 Icicle\Concurrent\Worker\AbstractWorker

상속: implements Worker
파일 보기 프로젝트 열기: icicleio/concurrent 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Icicle\Concurrent\Strand $strand )
enqueue ( Icicle\Concurrent\Worker\Task $task ) : Generator
isIdle ( ) : boolean
isRunning ( ) : boolean
kill ( )
shutdown ( ) : Generator
start ( )

비공개 메소드들

메소드 설명
cancelPending ( ) Cancels all pending tasks.
send ( Icicle\Concurrent\Worker\Task $task ) : Generator

메소드 상세

__construct() 공개 메소드

public __construct ( Icicle\Concurrent\Strand $strand )
$strand Icicle\Concurrent\Strand

enqueue() 공개 메소드

public enqueue ( Icicle\Concurrent\Worker\Task $task ) : Generator
$task Icicle\Concurrent\Worker\Task
리턴 Generator

isIdle() 공개 메소드

public isIdle ( ) : boolean
리턴 boolean

isRunning() 공개 메소드

public isRunning ( ) : boolean
리턴 boolean

kill() 공개 메소드

public kill ( )

shutdown() 공개 메소드

public shutdown ( ) : Generator
리턴 Generator

start() 공개 메소드

public start ( )