Results of 1 - 10 of about 41 for jobs (0.009 sec.)
- Wait for and perform jobs 10553
- « GearmanWorker::wait GearmanException » PHP Manual GearmanWorker Wait for and perform jobs 検索 GearmanWorker::work (PECL gearman >= 0.5.0) GearmanWorker::work — Wait for and perform jobs 説明 public function GearmanWorker::work (): bool W
... 返します。 例 例1 GearmanWorker::work() example <?php # create the worker $worker = new GearmanWorker (); # add the default job server (localhost) $worker -> addServer (); # add the reverse function $worker -> addFunction ( "reverse" , "my_reverse_fun ... ction" ); # start te worker listening for job submissions while ( $worker -> work ()); function my_reverse_function ( $job ) { return strrev ( $job -> workload ()); } ?> ... unction() - Register and add callback function 関連キーワード: GearmanWorker function worker work job reverse Wait perform jobs add callback return パラメータ 場合 addFunction my wait Search GearmanException gearman ...
-
https://man.mtool.work/php/8.3/gearmanworker.work.html
- Wait for and perform jobs 10553
- « GearmanWorker::wait GearmanException » PHP Manual GearmanWorker Wait for and perform jobs 検索 GearmanWorker::work (PECL gearman >= 0.5.0) GearmanWorker::work — Wait for and perform jobs 説明 public function GearmanWorker::work (): bool W
... 返します。 例 例1 GearmanWorker::work() example <?php # create the worker $worker = new GearmanWorker (); # add the default job server (localhost) $worker -> addServer (); # add the reverse function $worker -> addFunction ( "reverse" , "my_reverse_fun ... ction" ); # start te worker listening for job submissions while ( $worker -> work ()); function my_reverse_function ( $job ) { return strrev ( $job -> workload ()); } ?> ... nWorker::addFunction() - Register and add callback function 関連キーワード: GearmanWorker worker work reverse Wait perform jobs callback return addFunction wait GearmanException gearman Waits assigned calls appropriate Issues last Gearman code 成功 e ...
-
https://man.mtool.work/php/8.3/gearmanworker.work.html
- 定義済み定数 10242
- « インストール手順 例 » PHP Manual Gearman 定義済み定数 検索 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 Return values. A
... ion failed (invalid host, port, etc). GEARMAN_NO_SERVERS ( int ) Did not call GearmanClient::addServer() before submitting jobs or tasks. GEARMAN_LOST_CONNECTION ( int ) Lost a connection during a request. GEARMAN_MEMORY_ALLOCATION_FAILURE ( int ) Me ... m a running job. A worker uses this when it needs to send updates, send partial results, or flush data during long running jobs. GEARMAN_WORK_WARNING ( int ) Notice return code obtained with GearmanClient::returnCode() when using GearmanClient::do() ... function. GEARMAN_NO_REGISTERED_FUNCTIONS ( int ) When a worker gets a job for a function it did not register. GEARMAN_NO_JOBS ( int ) For a non-blocking worker, when GearmanWorker::work() does not have any active jobs. GEARMAN_ECHO_DATA_CORRUPTION ...
-
https://man.mtool.work/php/8.3/gearman.constants.html
- ドキュメントの数を取得する 9589
- « Collection::__construct Collection::createIndex » PHP Manual mysql_xdevapi\Collection ドキュメントの数を取得する 検索 Collection::count (No version information available, might only be in Git) Collection::count — ドキュメントの数を取得する
... ion ( "people" ); $collection = $schema -> getCollection ( "people" ); $result = $collection -> add ( '{"name": "Bernie", "jobs": [ {"title":"Cat Herder","Salary":42000}, {"title":"Father","Salary":0} ], "hobbies": ["Sports","Making cupcakes"]}' , '{ ... "name": "Jane", "jobs": [ {"title":"Scientist","Salary":18000}, {"title":"Mother","Salary":0} ], "hobbies": ["Walking","Making pies"]}' ) -> exe ... count mysql xdevapi session title Salary コレクション addressbook execute schema collection int パラメータ sql people name jobs hobbies ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.count.html
- ドキュメントの数を取得する 9589
- « Collection::__construct Collection::createIndex » PHP Manual mysql_xdevapi\Collection ドキュメントの数を取得する 検索 Collection::count (No version information available, might only be in Git) Collection::count — ドキュメントの数を取得する
... ion ( "people" ); $collection = $schema -> getCollection ( "people" ); $result = $collection -> add ( '{"name": "Bernie", "jobs": [ {"title":"Cat Herder","Salary":42000}, {"title":"Father","Salary":0} ], "hobbies": ["Sports","Making cupcakes"]}' , '{ ... "name": "Jane", "jobs": [ {"title":"Scientist","Salary":18000}, {"title":"Mother","Salary":0} ], "hobbies": ["Walking","Making pies"]}' ) -> exe ... Collection ドキュメント count mysql xdevapi session title Salary コレクション addressbook execute schema collection people jobs hobbies Making construct createIndex information available MySQL サーバー スキーマ 発行 ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.count.html
- 生成された id を取得する 9589
- « Result::getAutoIncrementValue Result::getWarnings » PHP Manual mysql_xdevapi\Result 生成された id を取得する 検索 Result::getGeneratedIds (No version information available, might only be in Git) Result::getGeneratedIds — 生成された id を取
... ion ( "people" ); $collection = $schema -> getCollection ( "people" ); $result = $collection -> add ( '{"name": "Bernie", "jobs": [{"title":"Cat Herder","Salary":42000}, {"title":"Father","Salary":0}], "hobbies": ["Sports","Making cupcakes"]}' , '{"n ... ame": "Jane", "jobs": [{"title":"Scientist","Salary":18000}, {"title":"Mother","Salary":0}], "hobbies": ["Walking","Making pies"]}' )-> execut ... 関連キーワード: getGeneratedIds mysql xdevapi session title Salary addressbook execute schema 直近 操作 people collection jobs hobbies Making getAutoIncrementValue getWarnings information available MySQL サーバー getSession mysqlx user ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-result.getgeneratedids.html
- Unregister a function name with the job servers 9278
- « GearmanWorker::timeout GearmanWorker::unregisterAll » PHP Manual GearmanWorker Unregister a function name with the job servers 検索 GearmanWorker::unregister (PECL gearman >= 0.6.0) GearmanWorker::unregister — Unregister a function name w
... ith the job servers 説明 public function GearmanWorker::unregister ( string $function_name ): bool Unregisters a function name with the ... job servers ensuring that no more jobs (for that function) are sent to this worker. パラメータ function_name The name of a func ... tion to register with the job server 戻り値 A standard Gearman return value. 参考 GearmanWorker::register() - Register a function with the job server Gea ...
-
https://man.mtool.work/php/8.3/gearmanworker.unregister.html
- Unregister all function names with the job servers 9278
- « GearmanWorker::unregister GearmanWorker::wait » PHP Manual GearmanWorker Unregister all function names with the job servers 検索 GearmanWorker::unregisterAll (PECL gearman >= 0.6.0) GearmanWorker::unregisterAll — Unregister all function n
... ames with the job servers 説明 public function GearmanWorker::unregisterAll (): bool Unregisters all previously registered functions, ensurin ... g that no more jobs are sent to this worker. パラメータ この関数にはパラメータはありません。 戻り値 A standard Gearman return value. 参考 Gear ... manWorker::register() - Register a function with the job server GearmanWorker::unregister() - Unregister a function name with the job servers 関連キーワード: GearmanWorker function ...
-
https://man.mtool.work/php/8.3/gearmanworker.unregisterall.html
- Add a task to get status 9278
- « GearmanClient::addTaskLowBackground GearmanClient::clearCallbacks » PHP Manual GearmanClient Add a task to get status 検索 GearmanClient::addTaskStatus (PECL gearman >= 0.5.0) GearmanClient::addTaskStatus — Add a task to get status 説明 p
... ject */ $gmclient = new GearmanClient (); /* add the default server */ $gmclient -> addServer (); /* start some background jobs and save the handles */ $handles = array(); $handles [ 0 ] = $gmclient -> doBackground ( "reverse" , "Hello World!" ); $ha ... " , "!dlroW olleH" ); $gmclient -> setStatusCallback ( "reverse_status" ); /* Poll the server to see when those background jobs finish; */ /* a better method would be to use event callbacks */ do { /* Use the context variable to track how many tasks ... addTaskStatus reverse handle context server callback setStatusCallback background GearmanTask tasks worker example running jobs doBackground addTaskLowBackground clearCallbacks gearman mixed Used ...
-
https://man.mtool.work/php/8.3/gearmanclient.addtaskstatus.html
- Unregister a function name with the job servers 9278
- « GearmanWorker::timeout GearmanWorker::unregisterAll » PHP Manual GearmanWorker Unregister a function name with the job servers 検索 GearmanWorker::unregister (PECL gearman >= 0.6.0) GearmanWorker::unregister — Unregister a function name w
... ith the job servers 説明 public function GearmanWorker::unregister ( string $function_name ): bool Unregisters a function name with the ... job servers ensuring that no more jobs (for that function) are sent to this worker. パラメータ function_name The name of a func ... tion to register with the job server 戻り値 A standard Gearman return value. 参考 GearmanWorker::register() - Register a function with the job server Gea ...
-
https://man.mtool.work/php/8.3/gearmanworker.unregister.html