GearmanJob::sendFail
(PECL gearman >= 0.6.0)
GearmanJob::sendFail — Send fail status
Descrierea
public bool GearmanJob::sendFail
( void
)
Sends failure status for this job, indicating that the job failed in a known way (as opposed to failing due to a thrown exception).
Parametri
Această funcție nu are parametri.
Valorile întoarse
Întoarce valoarea TRUE în cazul
succesului sau FALSE în cazul eșecului.
Vedeți de asemenea
- GearmanJob::sendException() - Send exception for running job (exception)
- GearmanJob::setReturn() - Set a return value
- GearmanJob::sendStatus() - Send status
- GearmanJob::sendWarning() - Send a warning
There are no user contributed notes for this page.
