GearmanJob
PHP 手册

GearmanJob::workloadSize

(PECL gearman >= 0.5.0)

GearmanJob::workloadSizeGet size of work load

说明

public int GearmanJob::workloadSize ( void )

Returns the size of the job's work load (the data the worker is to process) in bytes.

参数

此函数没有参数。

返回值

The size in bytes.

参见


GearmanJob
PHP 手册