GearmanTask::taskNumerator

(PECL gearman >= 0.5.0)

GearmanTask::taskNumeratorGet completion percentage numerator

說明

public GearmanTask::taskNumerator(): int

Returns the numerator of the percentage of the task that is complete expressed as a fraction.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

A number between 0 and 100, or false if cannot be determined.

參見