文字

GearmanJob::workload

(PECL gearman >= 0.5.0)

GearmanJob::workloadGet workload

说明

public string GearmanJob::workload ( void )

Returns the workload for the job. This is serialized data that is to be processed by the worker.

参数

此函数没有参数。

返回值

Serialized data.

参见

  • GearmanClient::do() - Run a single task and return a result [deprecated]
  • GearmanJob::workloadSize() - Get size of work load
上一篇: 下一篇: