« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 8 of about 8 for Notifications (0.002 sec.)
Threaded::notify — Synchronization | PHP 8.3 10356
Threaded::notify (PECL pthreads >= 2.0.0) Threaded::notify — Synchronization 説明 public function Threaded::notify (): bool Send notification to the referenced object パラメータ この関数にはパラメータはありません。 戻り値 成功した場合に tru ... e を、失敗した場合に false を返します。 例 例1 Notifications and Waiting <?php class My extends Thread { public function run () { /** cause this thread to wait **/ $this -> synchroniz ...
https://man.mtool.work/php/8.3/threaded.notify.html
Threaded::notifyOne — Synchronization | PHP 8.3 10356
Threaded::notifyOne (PECL pthreads >= 3.0.0) Threaded::notifyOne — Synchronization 説明 public function Threaded::notifyOne (): bool Send notification to the referenced object. This unblocks at least one of the blocked threads (as opposed t ... ). パラメータ この関数にはパラメータはありません。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 Notifications and Waiting <?php class My extends Thread { public function run () { /** cause this thread to wait **/ $this -> synchroniz ...
https://man.mtool.work/php/8.3/threaded.notifyone.html
Threaded::wait — Synchronization | PHP 8.3 10356
Threaded::wait (PECL pthreads >= 2.0.0) Threaded::wait — Synchronization 説明 public function Threaded::wait ( int $timeout = ? ): bool Will cause the calling context to wait for notification from the referenced object パラメータ timeout An ... optional timeout in microseconds 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 Notifications and Waiting <?php class My extends Thread { public function run () { /** cause this thread to wait **/ $this -> synchroniz ...
https://man.mtool.work/php/8.3/threaded.wait.html
Zookeeper::connect — Create a handle used to communicate with zookeeper | PHP 8... 10356
Zookeeper::connect (PECL zookeeper >= 0.2.0) Zookeeper::connect — Create a handle used to communicate with zookeeper 説明 public function Zookeeper::connect ( string $host , callable $watcher_cb = null , int $recv_timeout = 10000 ): void Th ... to a zk server. e.g. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002" watcher_cb The global watcher callback function. When notifications are triggered this function will be invoked. recv_timeout The timeout for this session, only valid if the connection is cu ...
https://man.mtool.work/php/8.3/zookeeper.connect.html
Zookeeper::__construct — Create a handle to used communicate with zookeeper | P... 10356
Zookeeper::__construct (PECL zookeeper >= 0.1.0) Zookeeper::__construct — Create a handle to used communicate with zookeeper 説明 public function Zookeeper::__construct ( string $host = '' , callable $watcher_cb = null , int $recv_timeout = ... to a zk server. e.g. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002" watcher_cb the global watcher callback function. When notifications are triggered this function will be invoked. recv_timeout the timeout for this session, only valid if the connections is c ...
https://man.mtool.work/php/8.3/zookeeper.construct.html
The EvIo class | PHP 8.3 7446
The EvIo class (PECL ev >= 0.2.0) はじめに EvIo watchers check whether a file descriptor(or socket, or a stream castable to numeric file descriptor) is readable or writable in each iteration of the event loop, or, more precisely, when readi ... usually a good idea(but not required). Another thing to watch out for is that it is quite easy to receive false readiness notifications, i.e. the callback might be called with Ev::READ but a subsequent read() will actually block because there is no data. It ...
https://man.mtool.work/php/8.3/class.evio.html
The EvStat class | PHP 8.3 7446
The EvStat class (PECL ev >= 0.2.0) はじめに EvStat monitors a file system path for attribute changes. It calls stat() on that path in regular intervals (or when the OS signals it changed) and sees if it changed compared to the last time, i ... usually overkill. This watcher type is not meant for massive numbers of EvStat watchers, as even with OS-supported change notifications, this can be resource-intensive. クラス概要 class EvStat extends EvWatcher { /* プロパティ */ public $ path ; public $ int ...
https://man.mtool.work/php/8.3/class.evstat.html
OCI8 高速アプリケーション通知 (FAN) サポート | PHP 8.3 5512
OCI8 高速アプリケーション通知 (FAN) サポート FAN サポートは、高速接続フェイルオーバーという Oracle Database 高可用性機能を提供します。 これにより、データベースマシンまたはデータベースインスタンスが使用不能になると、 PHP OCI8 スクリプトに通知 ... ラムを使用します。 たとえば下記のように使用します。 SQL> execute dbms_service.modify_service( SERVICE_NAME => 'sales', AQ_HA_NOTIFICATIONS => TRUE); php.ini を編集して以下のように追加します。 oci8.events = On もし OCI8 のエラー条件をアプリケーションがすでに正し ...
https://man.mtool.work/php/8.3/oci8.fan.html
PREV 1 NEXT