PHP Doku:: Run a high priority task in the background - gearmanclient.dohighbackground.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteGearmanThe GearmanClient classGearmanClient::doHighBackground

Ein Service von Reinhard Neidl - Webprogrammierung.

The GearmanClient class

<<GearmanClient::doHigh

GearmanClient::doJobHandle>>

GearmanClient::doHighBackground

(PECL gearman >= 0.5.0)

GearmanClient::doHighBackgroundRun a high priority task in the background

Beschreibung

public string GearmanClient::doHighBackground ( string $function_name , string $workload [, string $unique ] )

Runs a high priority task in the background, returning a job handle which can be used to get the status of the running task. High priority tasks take precedence over normal and low priority tasks in the job queue.

Parameter-Liste

function_name

Die registrierte Funktion, die der Worker ausführen soll

workload

Serialisierte Daten, die verarbeitet werden sollen

unique

Eine eindeutige ID, die einen bestimmten Task identifiziert

Rückgabewerte

The job handle for the submitted task.

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)