array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'gearmantask.unique.php', 1 => 'GearmanTask::unique', 2 => 'Get the unique identifier for a task', ), 'up' => array ( 0 => 'class.gearmantask.php', 1 => 'GearmanTask', ), 'prev' => array ( 0 => 'gearmantask.tasknumerator.php', 1 => 'GearmanTask::taskNumerator', ), 'next' => array ( 0 => 'gearmantask.uuid.php', 1 => 'GearmanTask::uuid', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gearman/gearmantask/unique.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

GearmanTask::unique

(PECL gearman >= 0.6.0)

GearmanTask::uniqueGet the unique identifier for a task

Beschreibung

public GearmanTask::unique(): false|string

Returns the unique identifier for this task. This is assigned by the GearmanClient, as opposed to the job handle which is set by the Gearman job server.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

The unique identifier, or false if no identifier is assigned.

Siehe auch