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)