# The GearmanTask class

(PECL gearman >= 0.5.0)

## Einführung

## Klassenbeschreibung

class GearmanTask {
/* Methoden */
public function __construct()
public function data(): false|string
public function dataSize(): int|false
public function functionName(): false|string
public function isKnown(): bool
public function isRunning(): bool
public function jobHandle(): false|string
public function recvData(int `$data_len`): false|array
public function returnCode(): int
public function sendWorkload(string `$data`): int|false
public function taskDenominator(): false|int
public function taskNumerator(): false|int
public function unique(): false|string
}

## Inhaltsverzeichnis

- GearmanTask::__construct — Create a GearmanTask instance
- GearmanTask::create — Create a task (deprecated)
- GearmanTask::data — Get data returned for a task
- GearmanTask::dataSize — Get the size of returned data
- GearmanTask::function — Get associated function name (deprecated)
- GearmanTask::functionName — Get associated function name
- GearmanTask::isKnown — Determine if task is known
- GearmanTask::isRunning — Test whether the task is currently running
- GearmanTask::jobHandle — Get the job handle
- GearmanTask::recvData — Read work or result data into a buffer for a task
- GearmanTask::returnCode — Get the last return code
- GearmanTask::sendData — Send data for a task (deprecated)
- GearmanTask::sendWorkload — Send data for a task
- GearmanTask::taskDenominator — Get completion percentage denominator
- GearmanTask::taskNumerator — Get completion percentage numerator
- GearmanTask::unique — Get the unique identifier for a task
- GearmanTask::uuid — Get the unique identifier for a task (deprecated)

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open