GearmanJob::unique

(PECL gearman >= 0.5.0)

GearmanJob::uniqueGet the unique identifier

说明

public GearmanJob::unique(): false|string

Returns the unique identifier for this job. The identifier is assigned by the client.

参数

此函数没有参数。

返回值

An opaque unique identifier, or false if the job has not yet been initialized.

参见