PHP Conference Nagoya 2025

The GearmanJob class

(PECL gearman >= 0.5.0)

简介

类摘要

class GearmanJob {
/* 方法 */
public handle(): false|string
public returnCode(): int
public sendComplete(string $result): bool
public sendData(string $data): bool
public sendException(string $exception): bool
public sendFail(): bool
public sendStatus(int $numerator, int $denominator): bool
public sendWarning(string $warning): bool
public setReturn(int $gearman_return_t): bool
public unique(): false|string
public workload(): string
public workloadSize(): int
}

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top