Properties

$register

$register : 

Type

$manager

$manager : 

Type

$client

$client : 

Type

$workers

$workers : 

Type

$logger

$logger : 

Type

$instance

$instance : 

Type

Methods

instance()

instance(  $config = array()) 

Parameters

$config

addTask()

addTask() 

添加任务

addTimerTask()

addTimerTask() 

添加 定时任务

put()

put() 

修改 任务

start()

start() 

开启任务

reload()

reload() 

重启加载 任务

stop()

stop() 

停止任务

status()

status() 

任务 状态

dispatch()

dispatch() 

分发 任务给对应 worker

__construct()

__construct(  $config = array()) 

Parameters

$config