= 0.6.0)GearmanWorker::echo — Test job server response說明public GearmanWorker::echo(string $workload): boolSends data">

GearmanWorker::echo

(PECL gearman >= 0.6.0)

GearmanWorker::echoTest job server response

說明

public GearmanWorker::echo(string $workload): bool

Sends data to all job servers to see if they echo it back. This is a test function to see if job servers are responding properly.

參數(shù)

workload

Arbitrary serialized data

返回值

Standard Gearman return value.

參見