GearmanJob::sendWarning
(PECL gearman >= 0.6.0)
GearmanJob::sendWarning — Send a warning
Beschreibung
public bool GearmanJob::sendWarning
( string
$warning
)Sends a warning for this job while it is running.
Parameter-Liste
-
warning -
A warning message.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Siehe auch
- GearmanJob::sendComplete() - Send the result and complete status
- GearmanJob::sendException() - Send exception for running job (exception)
- GearmanJob::sendFail() - Send fail status