The GearmanTask class

From Get docs
Php/docs/latest/class.gearmantask


The GearmanTask class

Introduction

(PECL gearman >= 0.5.0)

Class synopsis

class GearmanTask {

/* Methods */

public __construct()
public create(): GearmanTask|false
public data(): string
public dataSize(): int
public function(): string
public functionName(): string
public isKnown(): bool
public isRunning(): bool
public jobHandle(): string
public recvData(int $data_len): array
public returnCode(): int
public sendData(string $data): int
public sendWorkload(string $data): int
public taskDenominator(): int
public taskNumerator(): int
public unique(): string
public uuid(): string

}

Table of Contents


© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.gearmantask.php