略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: GearmanJob

2024-12-23

The GearmanJob class

(PECL gearman >= 0.5.0)

简介

类摘要

class GearmanJob {
/* 方法 */
public complete(string $result): bool
public __construct()
public data(string $data): bool
public exception(string $exception): bool
public fail(): bool
public functionName(): string
public handle(): 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 status(int $numerator, int $denominator): bool
public unique(): string
public warning(string $warning): bool
public workload(): string
public workloadSize(): int
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.gearmanjob.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3