编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « EvStat::prev
  • EvStat::stat »
  • PHP Manual
  • EvStat
  • Configures the watcher

EvStat::set

(PECL ev >= 0.2.0)

EvStat::set — Configures the watcher

说明

public EvStat::set ( string $path , float $interval ) : void

Configures the watcher.

参数

path

The path to wait for status changes on.

interval

Hint on how quickly a change is expected to be detected and should normally be specified as 0.0 to let libev choose a suitable value.

返回值

没有返回值。

相关文章
php evchild configures the watcherphp evembed configures the watcherphp event re configures eventphp evfork constructs the evfork watcher objectphp evfork creates a stopped instance of evfork watcher classphp evio configures the watcherphp evloop create evio watcher object associated with the current event loop instancephp evloop creates evstat watcher object associated with the current event loop instancephp evperiodic returns the absolute time that this watcher is supposed to trigger nextphp evperiodic constructs evperiodic watcher objectphp evperiodic create a stopped evperiodic watcherphp evperiodic configures the watcherphp evsignal configures the watcherphp evstat constructs evstat watcher objectphp evstat create a stopped evstat watcher objectphp evstat configures the watcherphp evtimer constructs an evtimer watcher objectphp evtimer creates evtimer stopped watcher objectphp evtimer configures the watcherphp zookeeper set a watcher function
关注编程学问公众号
编程学问网 湘ICP备20001732号