downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

GearmanJob::functionName> <GearmanJob::exception
[edit] Last updated: Fri, 17 May 2013

view this page in

GearmanJob::fail

(PECL gearman <= 0.5.0)

GearmanJob::failEnvoie un statut d'échec (obsolète)

Description

public bool GearmanJob::fail ( void )

Envoie un statut d'échec pour ce travail, indiquant que le travail a échoué de façon inattendu (à contrario d'un échec avec une émission d'une exception donnée).

Note:

Cette méthode a été remplacée par la méthode GearmanJob::sendFail() depuis la version 0.6.0 de l'extension Gearman.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.

Voir aussi



add a note add a note User Contributed Notes GearmanJob::fail - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites