« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 114 for running (0.003 sec.)
GearmanClient::jobStatus — Get the status of a background job | PHP 8.3 13251
GearmanClient::jobStatus gearman_job_status (PECL gearman >= 0.5.0) GearmanClient::jobStatus -- gearman_job_status — Get the status of a background job 説明 オブジェクト指向型 (method): public function GearmanClient::jobStatus ( string $job ... kground job given a job handle. The status information will specify whether the job is known, whether the job is currently running, and the percentage completion. パラメータ job_handle Gearman サーバーが割り当てたジョブハンドル。 戻り値 An array contain ... element is a boolean indicating whether the job is even known, the second is a boolean indicating whether the job is still running, and the third and fourth elements correspond to the numerator and denominator of the fractional completion percentage, re ... spectively. 例 例1 Monitor the status of a long running background job <?php /* create our object */ $gmclient = new GearmanClient (); /* add the default server */ $gmclient -> a ...
https://man.mtool.work/php/8.3/gearmanclient.jobstatus.html
GearmanClient::doBackground — Run a task in the background | PHP 8.3 12257
GearmanClient::doBackground (PECL gearman >= 0.5.0) GearmanClient::doBackground — Run a task in the background 説明 public function GearmanClient::doBackground ( string $function , string $workload , ? string $unique = null ): string Runs a ... task in the background, returning a job handle which can be used to get the status of the running task. パラメータ function ワーカーが実行するために登録した関数。 workload シリアライズしたデータ。 unique タスクを特定する ... . 例 例1 Submit and monitor a background job The worker in this example has an artificial delay introduced to mimic a long running job. The client script periodically checks the status of the running job. <?php /* create our object */ $gmclient = new Ge ... at = $gmclient -> jobStatus ( $job_handle ); if (! $stat [ 0 ]) // the job is known so it is not done $done = true ; echo "Running: " . ( $stat [ 1 ] ? "true" : "false" ) . ", numerator: " . $stat [ 2 ] . ", denominator: " . $stat [ 3 ] . "\n" ; } while ...
https://man.mtool.work/php/8.3/gearmanclient.dobackground.html
Phar::running — 現在実行中の Phar アーカイブのフルパスあるいは完全な phar URL ... 11099
Phar::running (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0) Phar::running — 現在実行中の Phar アーカイブのフルパスあるいは完全な phar URL を返す 説明 final public static function Phar::running ( bool $returnPhar = true ): string 実行中 ... __FILE__ のような使い方を想定したもので、 実行中の phar アーカイブの内部でのみ有効です。 アーカイブ内のスタブでは、 Phar::running() は "" を返します。現在実行中の phar にスタブ内からアクセスするには、 単純に __FILE__ を使用します。 パラメータ returnPha ... な phar URL を返します。 戻り値 ファイル名が正しい形式の場合にファイル名、それ以外の場合に空文字列を返します。 例 例1 Phar::running() の例 次の例では、phar アーカイブが /path/to/phar/my.phar にあるものとします。 <?php $a = Phar :: running (); // $a は "p ... har:///path/to/my.phar" $b = Phar :: running ( false ); // $b は "/path/to/my.phar" ?> 他のマニュアルの関連ページ Linux JM dejagnu(1) Linux JM ident(1) Linux JM which( ...
https://man.mtool.work/php/8.3/phar.running.html
GearmanTask::isRunning — Test whether the task is currently running | PHP 8.3 9023
GearmanTask::isRunning (PECL gearman >= 0.5.0) GearmanTask::isRunning — Test whether the task is currently running 説明 public function GearmanTask::isRunning (): bool Indicates whether or not this task is currently running. パラメータ この ... 関数にはパラメータはありません。 戻り値 true if the task is running, false otherwise. 他のマニュアルの関連ページ FastAPI Response Python asyncio-extending Python asyncio-tools ...
https://man.mtool.work/php/8.3/gearmantask.isrunning.html
The GearmanJob class | PHP 8.3 8771
The GearmanJob class (PECL gearman >= 0.5.0) はじめに クラス概要 class GearmanJob { /* メソッド */ public function functionName (): false | string public function handle (): false | string public function returnCode (): int public function ... and complete status (deprecated) GearmanJob::__construct — Create a GearmanJob instance GearmanJob::data — Send data for a running job (deprecated) GearmanJob::exception — Send exception for running job (deprecated) GearmanJob::fail — Send fail status ( ... Get last return code GearmanJob::sendComplete — Send the result and complete status GearmanJob::sendData — Send data for a running job GearmanJob::sendException — Send exception for running job (exception) GearmanJob::sendFail — Send fail status Gearman ...
https://man.mtool.work/php/8.3/class.gearmanjob.html
GearmanClient::doJobHandle — Get the job handle for the running task | PHP 8.3 8771
GearmanClient::doJobHandle (PECL gearman >= 0.5.0) GearmanClient::doJobHandle — Get the job handle for the running task 説明 public function GearmanClient::doJobHandle (): string Gets that job handle for a running task. This should be used ... then be used to get information on the task. パラメータ この関数にはパラメータはありません。 戻り値 The job handle for the running task. 参考 GearmanClient::jobStatus() - Get the status of a background job 他のマニュアルの関連ページ DuckDB Profile and M ...
https://man.mtool.work/php/8.3/gearmanclient.dojobhandle.html
Gearman | PHP 8.3 8607
Gearman はじめに » Gearman は、複数のマシンやプロセスに 作業を任せるための汎用的なアプリケーションフレームワークです。これにより、 アプリケーションはタスクを並列で遂行したり、処理の負荷を分散したり、 言語をまたいで関数を呼び出したりできます ... ent::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::doLowBackground — Run a low priority task in the ... ackground GearmanClient::doNormal — Run a single task and return a result GearmanClient::doStatus — Get the status for the running task GearmanClient::echo — Send data to all job servers to see if they echo it back [deprecated] GearmanClient::error — Re ... and complete status (deprecated) GearmanJob::__construct — Create a GearmanJob instance GearmanJob::data — Send data for a running job (deprecated) GearmanJob::exception — Send exception for running job (deprecated) GearmanJob::fail — Send fail status ( ...
https://man.mtool.work/php/8.3/book.gearman.html
MongoDB\Driver\Session::getTransactionOptions — Returns options for the current... 8519
MongoDB\Driver\Session::getTransactionOptions (mongodb >=1.7.0) MongoDB\Driver\Session::getTransactionOptions — Returns options for the currently running transaction 説明 final public function MongoDB\Driver\Session::getTransactionOptions ( ... ): ? array Returns options for the currently running transaction. パラメータ この関数にはパラメータはありません。 戻り値 Returns a array containing current transaction options ... , or null if no transaction is running. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 参考 MongoDB\Driver\Se ...
https://man.mtool.work/php/8.3/mongodb-driver-session.gettransactionoptions.html
win32_start_service_ctrl_dispatcher — スクリプトを SCM に登録し、指定した名前で... 7525
win32_start_service_ctrl_dispatcher (PECL win32service >=0.1.0) win32_start_service_ctrl_dispatcher — スクリプトを SCM に登録し、指定した名前でサービスとして稼動させる ようにする 説明 function win32_start_service_ctrl_dispatcher ( string $n ... 行中であることをサービスコントロールマネージャに通知することです。 これは、 win32_set_service_status() に定数 WIN32_SERVICE_RUNNING を指定してコールすれば実現できます。 サービスが実際に動き出すまでに何らかの長い処理を要する場合は、定数 WIN32_SERVICE_STAR ... 実行されているかどうかを調べます。 <?php if (! win32_start_service_ctrl_dispatcher ( 'dummyphp' )) { die( "I'm probably not running under the service control manager" ); } win32_set_service_status ( WIN32_SERVICE_START_PENDING ); // このサービスを処理する ... ための、何らかの長い処理をします win32_set_service_status ( WIN32_SERVICE_RUNNING ); while ( WIN32_SERVICE_CONTROL_STOP != win32_get_last_control_message ()) { # ここでなんらかの処理をします。1 回のループ ...
https://man.mtool.work/php/8.3/function.win32-start-service-ctrl-dispatcher.html
GearmanJob::sendWarning — Send a warning | PHP 8.3 7525
GearmanJob::sendWarning (PECL gearman >= 0.6.0) GearmanJob::sendWarning — Send a warning 説明 public function GearmanJob::sendWarning ( string $warning ): bool Sends a warning for this job while it is running. パラメータ warning A warning m ... す。 参考 GearmanJob::sendComplete() - Send the result and complete status GearmanJob::sendException() - Send exception for running job (exception) GearmanJob::sendFail() - Send fail status ...
https://man.mtool.work/php/8.3/gearmanjob.sendwarning.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT