GearmanClient::doHighBackground

(PECL gearman >= 0.5.0)

GearmanClient::doHighBackgroundRun a high priority task in the background

说锟斤拷

public GearmanClient::doHighBackground ( string $function_name , string $workload [, string $unique ] ) : string

Runs a high priority task in the background, returning a job handle which can be used to get the status of the running task. High priority tasks take precedence over normal and low priority tasks in the job queue.

锟斤拷锟斤拷

function_name

锟缴筹拷锟斤拷锟皆讹拷执锟叫碉拷锟斤拷注锟结函锟斤拷锟斤拷

workload

锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷谢锟斤拷锟斤拷荨锟�

unique

锟斤拷锟节憋拷识锟截讹拷锟斤拷锟斤拷锟轿ㄒ伙拷锟� ID锟斤拷

锟斤拷锟斤拷值

The job handle for the submitted task.

锟轿硷拷