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

search for in the

GearmanClient::setWorkloadCallback> <GearmanClient::setTimeout
[edit] Last updated: Fri, 17 May 2013

view this page in

GearmanClient::setWarningCallback

(PECL gearman >= 0.5.0)

GearmanClient::setWarningCallbackDéfinit une fonction de rappel lors de l'émission d'alerte depuis l'agent

Description

public bool GearmanClient::setWarningCallback ( callable $callback )

Définit une fonction à appeler lorsqu'un agent lance une alerte. La fonction de rappel doit accepter un seul argument, un objet GearmanTask.

Liste de paramètres

callback

Une fonction à appeler.

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 GearmanClient::setWarningCallback - [0 notes]
There are no user contributed notes for this page.

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