Results of 1 - 7 of about 7 for jobHandle (0.001 sec.)
- GearmanTask::jobHandle — Get the job handle | PHP 8.3 12614
- GearmanTask::jobHandle gearman_job_handle (PECL gearman >= 0.5.0) GearmanTask::jobHandle -- gearman_job_handle — Get the job handle 説明 public function GearmanTask::jobHandle (): false | string Returns the job handle for this task. パラメー
... タ この関数にはパラメータはありません。 戻り値 The opaque job handle, or false if the task has not yet been created. 参考 GearmanClient::doJobHandle() - Get the job handle for the running ta ...
-
https://man.mtool.work/php/8.3/gearmantask.jobhandle.html
- Basic Gearman client and worker, submitting tasks | PHP 8.3 10432
- Basic Gearman client and worker, submitting tasks 例1 Basic Gearman client and worker, submitting tasks In this example, the basic reverse client extended to run two tasks in parallel. The reverse worker is unchanged except to add sending o
... ROR " . $gmc -> error () . "\n" ; exit; } echo "DONE\n" ; function reverse_created ( $task ) { echo "CREATED: " . $task -> jobHandle () . "\n" ; } function reverse_status ( $task ) { echo "STATUS: " . $task -> jobHandle () . " - " . $task -> taskNumerator ... () . "/" . $task -> taskDenominator () . "\n" ; } function reverse_complete ( $task ) { echo "COMPLETE: " . $task -> jobHandle () . ", " . $task -> data () . "\n" ; } function reverse_fail ( $task ) { echo "FAILED: " . $task -> jobHandle () . "\n" ; ...
-
https://man.mtool.work/php/8.3/gearman.examples-reverse-task.html
- The GearmanTask class | PHP 8.3 9669
- The GearmanTask class (PECL gearman >= 0.5.0) はじめに クラス概要 class GearmanTask { /* メソッド */ public function __construct () public function data (): false | string public function dataSize (): int | false public function functionNam
... e (): 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 fun ... ask::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 — G ...
-
https://man.mtool.work/php/8.3/class.gearmantask.html
- GearmanJob::handle — Get the job handle | PHP 8.3 8506
- GearmanJob::handle (PECL gearman >= 0.5.0) GearmanJob::handle — Get the job handle 説明 public function GearmanJob::handle (): false | string Returns the opaque job handle assigned by the job server. パラメータ この関数にはパラメータはありま
... せん。 戻り値 An opaque job handle, or false if the job has not yet been initialized. 参考 GearmanTask::jobHandle() - Get the job handle 他のマニュアルの関連 ...
-
https://man.mtool.work/php/8.3/gearmanjob.handle.html
- GearmanClient::addTask — Add a task to be run in parallel | PHP 8.3 7615
- GearmanClient::addTask (PECL gearman >= 0.5.0) GearmanClient::addTask — Add a task to be run in parallel 説明 public function GearmanClient::addTask ( string $function_name , string | int | float $workload , mixed $context = null , ? string
... ' ] . "\n" ; function reverse_complete ( $task , $results ) { $results [ $task -> unique ()] = array( "handle" => $task -> jobHandle (), "data" => $task -> data ()); } ?> 上の例の出力は、 たとえば以下のようになります。 t2: H.foo:21, Hello World! t1: H:foo ...
-
https://man.mtool.work/php/8.3/gearmanclient.addtask.html
- Gearman | PHP 8.3 7361
- Gearman はじめに » Gearman は、複数のマシンやプロセスに 作業を任せるための汎用的なアプリケーションフレームワークです。これにより、 アプリケーションはタスクを並列で遂行したり、処理の負荷を分散したり、 言語をまたいで関数を呼び出したりできます
... a single high priority task GearmanClient::doHighBackground — Run a high priority task in the background GearmanClient::doJobHandle — Get the job handle for the running task GearmanClient::doLow — Run a single low priority task GearmanClient::doLowBackgr ... GearmanJob::fail — Send fail status (deprecated) GearmanJob::functionName — Get function name GearmanJob::handle — Get the job handle GearmanJob::returnCode — Get last return code GearmanJob::sendComplete — Send the result and complete status GearmanJob:: ... ask::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 — G ...
-
https://man.mtool.work/php/8.3/book.gearman.html
- GearmanClient::addTaskBackground — Add a background task to be run in parallel ... 7361
- GearmanClient::addTaskBackground (PECL gearman >= 0.5.0) GearmanClient::addTaskBackground — Add a background task to be run in parallel 説明 public function GearmanClient::addTaskBackground ( string $function_name , string | int | float $wo
... "\n" ; exit; } echo "DONE\n" ; function reverse_status ( $task ) { echo "STATUS: " . $task -> unique () . ", " . $task -> jobHandle () . " - " . $task -> taskNumerator () . "/" . $task -> taskDenominator () . "\n" ; } function reverse_complete ( $task ) ...
-
https://man.mtool.work/php/8.3/gearmanclient.addtaskbackground.html
PREV
1
NEXT