Results of 1 - 10 of about 15 for EvStat (0.001 sec.)
- EvStat::createStopped — Create a stopped EvStat watcher object | PHP 8.3 11564
- EvStat::createStopped (PECL ev >= 0.2.0) EvStat::createStopped — Create a stopped EvStat watcher object 説明 final public static function EvStat::createStopped ( string $path , float $interval , callable $callback , mixed $data = null , int
... $priority = 0 ): void Creates EvStat watcher object, but doesn't start it automatically(unlike EvStat::__construct() ). パラメータ path The path to wait for st ... k See Watcher callbacks . data Custom data associated with the watcher. priority Watcher priority 戻り値 Returns a stopped EvStat watcher object on success. 参考 EvStat::__construct() - Constructs EvStat watcher object EvWatcher::start() - Starts the w ...
-
https://man.mtool.work/php/8.3/evstat.createstopped.html
- The EvStat class | PHP 8.3 11529
- 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
... s a status change like any other. The condition "path does not exist" is signified by the 'nlink' item being 0(returned by EvStat::attr() method). The path must not end in a slash or contain special components such as '.' or .. . The path should be abs ... nterval which is currently around 0.1 , but that's 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 ... lly be specified as 0.0 to let libev choose a suitable value. path Readonly . The path to wait for status changes on. 目次 EvStat::attr — Returns the values most recently detected by Ev EvStat::__construct — Constructs EvStat watcher object EvStat::cre ...
-
https://man.mtool.work/php/8.3/class.evstat.html
- EvStat::prev — Returns the previous set of values returned by EvStat::attr | PH... 10919
- EvStat::prev (PECL ev >= 0.2.0) EvStat::prev — Returns the previous set of values returned by EvStat::attr 説明 public function EvStat::prev (): void Just like EvStat::attr() , but returns the previous set of values. パラメータ この関数には
... パラメータはありません。 戻り値 Returns an array with the same structure as the array returned by EvStat::attr() . The array contains previously detected values. 参考 EvStat::attr() - Returns the values most recently detected b ... y Ev EvStat::stat() - Initiates the stat call 他のマニュアルの関連ページ Linux JM pthread_attr_getaffinity_np(3) Linux JM pthread_attr ...
-
https://man.mtool.work/php/8.3/evstat.prev.html
- EvStat::stat — Initiates the stat call | PHP 8.3 9927
- EvStat::stat (PECL ev >= 0.2.0) EvStat::stat — Initiates the stat call 説明 public function EvStat::stat (): bool Initiates the stat call(updates internal cache). It stats(using lstat ) the path specified in the watcher and sets to the valu
... es found. パラメータ この関数にはパラメータはありません。 戻り値 Returns true if path exists. Otherwise false . 参考 EvStat::attr() - Returns the values most recently detected by Ev EvStat::prev() - Returns the previous set of values returned by ...
-
https://man.mtool.work/php/8.3/evstat.stat.html
- EvStat::attr — Returns the values most recently detected by Ev | PHP 8.3 9805
- EvStat::attr (PECL ev >= 0.2.0) EvStat::attr — Returns the values most recently detected by Ev 説明 public function EvStat::attr (): array Returns array of the values most recently detected by Ev パラメータ この関数にはパラメータはありません
... ns array with the values most recently detect by Ev(without actual stat 'ing): List for item keys of the array returned by EvStat::attr() Key Description 'dev' ID of device containing file 'ino' inode number 'mode' protection 'nlink' number of hard lin ... stat(2) man page for details. 例 例1 Monitor changes of /var/log/messages <?php // Use 10 second update interval. $w = new EvStat ( "/var/log/messages" , 8 , function ( $w ) { echo "/var/log/messages changed\n" ; $attr = $w -> attr (); if ( $attr [ 'nl ... tr [ 'mtime' ]); } else { fprintf ( STDERR , "`messages` file is not there!" ); $w -> stop (); } }); Ev :: run (); ?> 参考 EvStat::prev() - Returns the previous set of values returned by EvStat::attr EvStat::stat() - Initiates the stat call 他のマニュア ...
-
https://man.mtool.work/php/8.3/evstat.attr.html
- EvStat::__construct — Constructs EvStat watcher object | PHP 8.3 9282
- EvStat::__construct (PECL ev >= 0.2.0) EvStat::__construct — Constructs EvStat watcher object 説明 public function EvStat::__construct ( string $path , float $interval , callable $callback , mixed $data = null , int $priority = 0 ) Construc
... ts EvStat watcher object and starts the watcher automatically. パラメータ path The path to wait for status changes on. interval Hint ... er. priority Watcher priority 例 例1 Monitor changes of /var/log/messages <?php // Use 10 second update interval. $w = new EvStat ( "/var/log/messages" , 10 , function ( $w ) { echo "/var/log/messages changed\n" ; $attr = $w -> attr (); if ( $attr [ 'n ...
-
https://man.mtool.work/php/8.3/evstat.construct.html
- Ev | PHP 8.3 9108
- Ev はじめに この拡張モジュールは、 » libev ライブラリへのインターフェイスを提供します。 このライブラリは、C で書かれたハイパフォーマンスで高機能なイベントループです。 注意 : この拡張モジュールは Windows 環境では利用できません。 Libev はイベ
... op EvLoop::signal — Creates EvSignal watcher object associated with the current event loop instance EvLoop::stat — Creates EvStat watcher object associated with the current event loop instance EvLoop::stop — Stops the event loop EvLoop::suspend — Suspe ... nal watcher object EvSignal::createStopped — Create stopped EvSignal watcher object EvSignal::set — Configures the watcher EvStat — The EvStat class EvStat::attr — Returns the values most recently detected by Ev EvStat::__construct — Constructs EvStat ... watcher object EvStat::createStopped — Create a stopped EvStat watcher object EvStat::prev — Returns the previous set of values returned by EvSt ...
-
https://man.mtool.work/php/8.3/book.ev.html
- EvLoop::stat — Creates EvStat watcher object associated with the current event ... 8882
- EvLoop::stat (PECL ev >= 0.2.0) EvLoop::stat — Creates EvStat watcher object associated with the current event loop instance 説明 final public function EvLoop::stat ( string $path , float $interval , callable $callback , mixed $data = null
... , int $priority = 0 ): EvStat Creates EvStat watcher object associated with the current event loop instance パラメータ All parameters have the same mean ... ing as for EvSignal::__construct() 戻り値 Returns EvStat object on success 参考 EvSignal::__construct() - Constructs EvSignal watcher object 他のマニュアルの関連ページ Python asyn ...
-
https://man.mtool.work/php/8.3/evloop.stat.html
- EvStat::set — Configures the watcher | PHP 8.3 8429
- EvStat::set (PECL ev >= 0.2.0) EvStat::set — Configures the watcher 説明 public function EvStat::set ( string $path , float $interval ): void Configures the watcher. パラメータ path The path to wait for status changes on. interval Hint on h
...
-
https://man.mtool.work/php/8.3/evstat.set.html
- プロセス制御 | PHP 8.3 7140
- プロセス制御 Eio インストール/設定 定義済み定数 例 Eio 関数 Ev インストール/設定 例 ウォッチャー ウォッチャーのコールバック Periodic ウォッチャーの操作モード Ev — Ev クラス EvCheck — EvCheck クラス EvChild — EvChild クラス EvEmbed — EvEmbed
... ass EvLoop — The EvLoop class EvPeriodic — The EvPeriodic class EvPrepare — EvPrepare クラス EvSignal — The EvSignal class EvStat — The EvStat class EvTimer — The EvTimer class EvWatcher — The EvWatcher class Expect インストール/設定 定義済み定数 例 Ex ...
-
https://man.mtool.work/php/8.3/refs.fileprocess.process.html