GearmanJob::unique
(PECL gearman >= 0.5.0)
GearmanJob::unique — Get the unique identifier
Description
public GearmanJob::unique ( ) : string
Returns the unique identifiter for this job. The identifier is assigned by the client.
Parameters
This function has no parameters.
Return Values
An opaque unique identifier.
See Also
- GearmanClient::do() - Run a single task and return a result [deprecated]
- GearmanTask::uuid() - Get the unique identifier for a task (deprecated)
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmanjob.unique.php