GearmanJob::unique
(PECL gearman >= 0.5.0)
GearmanJob::unique — Get the unique identifier
Descrição
Returns the unique identifier for this job. The identifier is assigned by the client.
Parâmetros
Esta função não possui parâmetros.
Valor Retornado
An opaque unique identifier, or false
if the job has not yet been initialized.
Veja Também
- GearmanClient::do() - Run a single task and return a result [deprecated]
- GearmanTask::uuid() - Get the unique identifier for a task (deprecated)