GearmanJob::workload
(PECL gearman >= 0.5.0)
GearmanJob::workload — Get workload
说明
public GearmanJob::workload
( void
) : string
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