Php/docs/gearmanjob.unique
来自菜鸟教程
GearmanJob::unique
(PECL gearman >= 0.5.0)
GearmanJob::unique — Get the unique identifier
说明
public GearmanJob::unique ( ) : string
Returns the unique identifiter for this job. The identifier is assigned by the client.
参数
此函数没有参数。
返回值
An opaque unique identifier.
参见
- GearmanClient::do() - Run a single task and return a result [deprecated]
- GearmanTask::uuid() - Get the unique identifier for a task (deprecated)