文字

GearmanJob::sendWarning

(PECL gearman >= 0.6.0)

GearmanJob::sendWarningSend a warning

说明

public bool GearmanJob::sendWarning ( string $warning )

Sends a warning for this job while it is running.

参数

warning

A warning message.

返回值

成功时返回 TRUE , 或者在失败时返回 FALSE

参见

  • GearmanJob::sendComplete() - Send the result and complete status
  • GearmanJob::sendException() - Send exception for running job (exception)
  • GearmanJob::sendFail() - Send fail status
上一篇: 下一篇: