GearmanJob::unique
(PECL gearman >= 0.5.0)
GearmanJob::unique — Get the unique identifier
Description
Returns the unique identifier for this job. The identifier is assigned by the client.
Parameters
This function has no parameters.
Return Values
An opaque unique identifier, or false if the job has not yet been initialized.
See Also
- GearmanClient::do() - Run a single task and return a result [deprecated]
- GearmanTask::uuid() - Get the unique identifier for a task (deprecated)
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
