GearmanClient::doHigh

(PECL gearman >= 0.5.0)

GearmanClient::doHighRun a single high priority task

说锟斤拷

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

Runs a single high priority task and returns a string representation of the result. It is up to the GearmanClient and GearmanWorker to agree on the format of the result. High priority tasks will get precedence over normal and low priority tasks in the job queue.

锟斤拷锟斤拷

function_name

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

workload

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

unique

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

锟斤拷锟斤拷值

A string representing the results of running a task.

锟轿硷拷