Results of 1 - 10 of about 66 for GearmanClient (0.002 sec.)
- The GearmanClient class | PHP 8.3 10459
- The GearmanClient class (PECL gearman >= 0.5.0) はじめに Represents a class for connecting to a Gearman job server and making requests to perform some function on provided data. The function performed must be one registered by a Gearman wor
... ker and the data passed is opaque to the job server. クラス概要 class GearmanClient { /* メソッド */ public function __construct () public function addOptions ( int $option ): bool public function addServer ... tion setWorkloadCallback ( callable $callback ): bool public function timeout (): int public function wait (): bool } 目次 GearmanClient::addOptions — Add client options GearmanClient::addServer — Add a job server to the client GearmanClient::addServers — Add ... a list of job servers to the client GearmanClient::addTask — Add a task to be run in parallel GearmanClient::addTaskBackground — Add a background task to be run in parallel ...
-
https://man.mtool.work/php/8.3/class.gearmanclient.html
- Gearman | PHP 8.3 10274
- Gearman はじめに » Gearman は、複数のマシンやプロセスに 作業を任せるための汎用的なアプリケーションフレームワークです。これにより、 アプリケーションはタスクを並列で遂行したり、処理の負荷を分散したり、 言語をまたいで関数を呼び出したりできます
... イアントとワーカーを書くためのクラスを提供します。 インストール/設定 要件 インストール手順 定義済み定数 例 Basic usage Basic Gearman client and worker, background Basic Gearman client and worker, submitting tasks GearmanClient — The GearmanClient class GearmanC ... lient::addOptions — Add client options GearmanClient::addServer — Add a job server to the client GearmanClient::addServers — Add a list of job servers to the client GearmanCli ... ent::addTask — Add a task to be run in parallel GearmanClient::addTaskBackground — Add a background task to be run in parallel GearmanClient::addTaskHigh — Add a high priority task to ...
-
https://man.mtool.work/php/8.3/book.gearman.html
- GearmanClient::runTasks — Run a list of tasks in parallel | PHP 8.3 8890
- GearmanClient::runTasks (PECL gearman >= 0.5.0) GearmanClient::runTasks — Run a list of tasks in parallel 説明 public function GearmanClient::runTasks (): bool For a set of tasks previously added with GearmanClient::addTask() , GearmanClient
... t::addTaskHigh() , GearmanClient::addTaskLow() , GearmanClient::addTaskBackground() , GearmanClient::addTaskHighBackground() , or GearmanClient::addTaskLow ... lel. パラメータ この関数にはパラメータはありません。 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 GearmanClient::addTask() - Add a task to be run in parallel ...
-
https://man.mtool.work/php/8.3/gearmanclient.runtasks.html
- GearmanClient::clearCallbacks — Clear all task callback functions | PHP 8.3 8861
- GearmanClient::clearCallbacks (PECL gearman >= 0.5.0) GearmanClient::clearCallbacks — Clear all task callback functions 説明 public function GearmanClient::clearCallbacks (): bool Clears all the task callback functions that have previously
... been set. パラメータ この関数にはパラメータはありません。 戻り値 Always returns true . 参考 GearmanClient::setDataCallback() - Callback function when there is a data packet for a task GearmanClient::setCompleteCallback() - Set a ... function to be called on task completion GearmanClient::setCreatedCallback() - Set a callback for when a task is queued GearmanClient::setExceptionCallback() - Set a callback fo ... r worker exceptions GearmanClient::setFailCallback() - Set callback for job failure GearmanClient::setStatusCallback() - Set a callback for collecting task ...
-
https://man.mtool.work/php/8.3/gearmanclient.clearcallbacks.html
- GearmanClient::setClientCallback — Callback function when there is a data packe... 8833
- GearmanClient::setClientCallback (PECL gearman <= 0.5.0) GearmanClient::setClientCallback — Callback function when there is a data packet for a task (deprecated) 説明 public function GearmanClient::setClientCallback ( callable $callback ):
... void Sets the callback function for accepting data packets for a task. 注意 : This method has been replaced by GearmanClient::setDataCallback() in the 0.6.0 release of the Gearman extension. 注意 : このコールバックは、このメソッドを呼び出した後に追 ... 加されたタスク(例: GearmanClient::addTask() を呼び出して追加されたタスク)に対してのみ実行されます。 パラメータ callback 呼び出す関数またはメソッド。有効な ... されます。 function callback ( GearmanTask $task , mixed $context ): int task このコールバックが呼び出されるタスク。 context GearmanClient::addTask() (または同等のメソッド) に context として渡されたもの。 戻り値 成功した場合に true を、失敗した場合に false を返 ...
-
https://man.mtool.work/php/8.3/gearmanclient.setclientcallback.html
- GearmanClient::setCompleteCallback — Set a function to be called on task comple... 8761
- GearmanClient::setCompleteCallback (PECL gearman >= 0.5.0) GearmanClient::setCompleteCallback — Set a function to be called on task completion 説明 public function GearmanClient::setCompleteCallback ( callable $callback ): bool Use to set a
... omplete() is invoked by a worker (whichever happens first). This callback executes only when executing a GearmanTask using GearmanClient::runTasks() . It is not used for individual jobs. 注意 : このコールバックは、このメソッドを呼び出した後に追加されたタスク( ... 例: GearmanClient::addTask() を呼び出して追加されたタスク)に対してのみ実行されます。 パラメータ callback 呼び出す関数またはメソッド。有効な ... されます。 function callback ( GearmanTask $task , mixed $context ): int task このコールバックが呼び出されるタスク。 context GearmanClient::addTask() (または同等のメソッド) に context として渡されたもの。 戻り値 成功した場合に true を、失敗した場合に false を返 ...
-
https://man.mtool.work/php/8.3/gearmanclient.setcompletecallback.html
- 定義済み定数 | PHP 8.3 8733
- 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 Return values. Always check GearmanClient::error() or GearmanWorker() for a s
... IT ( int ) When in non-blocking mode, an event is hit that would have blocked. GEARMAN_ERRNO ( int ) A system error. Check GearmanClient::errno() or GearmanWorker::errno() for the system error code that was returned. GEARMAN_NO_ACTIVE_FDS ( int ) GearmanClien ... ker . GEARMAN_GETADDRINFO ( int ) DNS resolution 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_ ... Gearman server and it could not handle the request gracefully. GEARMAN_WORK_DATA ( int ) Notice return code obtained with GearmanClient::returnCode() when using GearmanClient::do() . Sent to update the client with data from a running job. A worker uses this ...
-
https://man.mtool.work/php/8.3/gearman.constants.html
- GearmanClient::setStatusCallback — Set a callback for collecting task status | ... 8733
- GearmanClient::setStatusCallback (PECL gearman >= 0.5.0) GearmanClient::setStatusCallback — Set a callback for collecting task status 説明 public function GearmanClient::setStatusCallback ( callable $callback ): bool Sets a callback functio
... ing updated status information from a worker. 注意 : このコールバックは、このメソッドを呼び出した後に追加されたタスク(例: GearmanClient::addTask() を呼び出して追加されたタスク)に対してのみ実行されます。 パラメータ callback 呼び出す関数またはメソッド。有効な ... されます。 function callback ( GearmanTask $task , mixed $context ): int task このコールバックが呼び出されるタスク。 context GearmanClient::addTask() (または同等のメソッド) に context として渡されたもの。 戻り値 成功した場合に true を、失敗した場合に false を返 ... します。 参考 GearmanClient::setDataCallback() - Callback function when there is a data packet for a task GearmanClient::setCompleteCallback() - Set a ...
-
https://man.mtool.work/php/8.3/gearmanclient.setstatuscallback.html
- GearmanClient::setWarningCallback — Set a callback for worker warnings | PHP 8.... 8733
- GearmanClient::setWarningCallback (PECL gearman >= 0.5.0) GearmanClient::setWarningCallback — Set a callback for worker warnings 説明 public function GearmanClient::setWarningCallback ( callable $callback ): bool Sets a callback function to
... be called when a worker sends a warning. 注意 : このコールバックは、このメソッドを呼び出した後に追加されたタスク(例: GearmanClient::addTask() を呼び出して追加されたタスク)に対してのみ実行されます。 パラメータ callback 呼び出す関数またはメソッド。有効な ... されます。 function callback ( GearmanTask $task , mixed $context ): int task このコールバックが呼び出されるタスク。 context GearmanClient::addTask() (または同等のメソッド) に context として渡されたもの。 戻り値 成功した場合に true を、失敗した場合に false を返 ... します。 参考 GearmanClient::setDataCallback() - Callback function when there is a data packet for a task GearmanClient::setCompleteCallback() - Set a ...
-
https://man.mtool.work/php/8.3/gearmanclient.setwarningcallback.html
- GearmanClient::setCreatedCallback — Set a callback for when a task is queued | ... 8704
- GearmanClient::setCreatedCallback (PECL gearman >= 0.5.0) GearmanClient::setCreatedCallback — Set a callback for when a task is queued 説明 public function GearmanClient::setCreatedCallback ( callable $callback ): bool Sets a callback funct
... eceived and queued by the Gearman job server. 注意 : このコールバックは、このメソッドを呼び出した後に追加されたタスク(例: GearmanClient::addTask() を呼び出して追加されたタスク)に対してのみ実行されます。 パラメータ callback 呼び出す関数またはメソッド。有効な ... されます。 function callback ( GearmanTask $task , mixed $context ): int task このコールバックが呼び出されるタスク。 context GearmanClient::addTask() (または同等のメソッド) に context として渡されたもの。 戻り値 成功した場合に true を、失敗した場合に false を返 ... します。 参考 GearmanClient::setDataCallback() - Callback function when there is a data packet for a task GearmanClient::setCompleteCallback() - Set a ...
-
https://man.mtool.work/php/8.3/gearmanclient.setcreatedcallback.html