« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 58 for until (0.002 sec.)
time_sleep_until — 指定した時刻まで実行を遅延する | PHP 8.3 15339
time_sleep_until (PHP 5 >= 5.1.0, PHP 7, PHP 8) time_sleep_until — 指定した時刻まで実行を遅延する 説明 function time_sleep_until ( float $timestamp ): bool 指定した timestamp までスクリプトの実行を遅延させます。 パラメータ timestamp スクリプ ... false を返します。 エラー / 例外 過去の timestamp を指定した場合、この関数は E_WARNING を発生させます。 例 例1 time_sleep_until() の例 <?php // false を返し、警告を発生します var_dump ( time_sleep_until ( time ()- 1 )); // 高速なコンピュータ上でのみ動 ... 作します。実行を 0.2 秒遅延します。 var_dump ( time_sleep_until ( microtime ( true )+ 0.2 )); ?> 注意 注意 : すべてのシグナルは、スクリプトが再開した後で送信されます。 参考 sleep() - 実行 ...
https://man.mtool.work/php/8.3/function.time-sleep-until.html
The parallel\Channel class | PHP 8.3 11680
The parallel\Channel class (0.9.0) Unbuffered Channels An unbuffered channel will block on calls to parallel\Channel::send() until there is a receiver, and block on calls to parallel\Channel::recv() until there is a sender. This means an un ... sks, requiring the least copying. Buffered Channels A buffered channel will not block on calls to parallel\Channel::send() until capacity is reached, calls to parallel\Channel::recv() will block until there is data in the buffer. Closures over Channel ...
https://man.mtool.work/php/8.3/class.parallel-channel.html
EvTimer::__construct — Constructs an EvTimer watcher object | PHP 8.3 10611
EvTimer::__construct (PECL ev >= 0.2.0) EvTimer::__construct — Constructs an EvTimer watcher object 説明 public function EvTimer::__construct ( float $after , float $repeat , callable $callback , mixed $data = null , int $priority = 0 ) Con ... s reached. If it is positive, then the timer will automatically be configured to trigger again every repeat seconds later, until stopped manually. callback See Watcher callbacks . data Custom data associated with the watcher. priority Watcher priority ... function () { echo "2 seconds elapsed\n" ; }); // Create and launch timer firing after 2 seconds repeating each second // until we manually stop it $w2 = new EvTimer ( 2 , 1 , function ( $w ) { echo "is called every second, is launched after 2 second ... cause more than 10 iterations Ev :: iteration () >= 10 and $w -> stop (); }); // Create stopped timer. It will be inactive until we start it ourselves $w_stopped = EvTimer :: createStopped ( 10 , 5 , function( $w ) { echo "Callback of a timer created ...
https://man.mtool.work/php/8.3/evtimer.construct.html
Pool::shutdown — Shutdown all workers | PHP 8.3 9543
Pool::shutdown (PECL pthreads >= 2.0.0) Pool::shutdown — Shutdown all workers 説明 public function Pool::shutdown (): void Shuts down all of the workers in the pool. This will block until all submitted tasks have been executed. パラメータ こ ... pool = new Pool ( 4 ); for ( $i = 0 ; $i < 10 ; ++ $i ) { $pool -> submit (new Task ()); } $pool -> shutdown (); // blocks until all submitted tasks have finished executing 他のマニュアルの関連ページ Linux JM shutdown(2) Linux JM shutdown(8) Python co ...
https://man.mtool.work/php/8.3/pool.shutdown.html
SolrClient::commit — Finalizes all add/deletes made to the index | PHP 8.3 8474
SolrClient::commit (PECL solr >= 0.9.2) SolrClient::commit — Finalizes all add/deletes made to the index 説明 public function SolrClient::commit ( bool $softCommit = false , bool $waitSearcher = true , bool $expungeDeletes = false ): SolrUp ... nges to be quickly visible to searches) will want to soft commit often but hard commit less frequently. waitSearcher block until a new searcher is opened and registered as the main query searcher, making the changes visible. expungeDeletes Merge segme ... SolrClient::commit ([ int $maxSegments = 1 [, bool $waitFlush = true [, bool $waitSearcher = true ]]] ). $waitFlush: Block until index changes are flushed to disk. 注意 警告 PECL Solr >= 2.0 only supports Solr Server >= 4.0 参考 SolrClient::optimize() ...
https://man.mtool.work/php/8.3/solrclient.commit.html
MongoDB\Driver\WriteConcern::__construct — Create a new WriteConcern | PHP 8.3 8167
MongoDB\Driver\WriteConcern::__construct (mongodb >=1.0.0) MongoDB\Driver\WriteConcern::__construct — Create a new WriteConcern 説明 final public function MongoDB\Driver\WriteConcern::__construct ( string | int $w , ? int $wtimeout = null , ... concern timeout Value Description 0 Block indefinitely. This is the default. <integer greater than 0> Milliseconds to wait until returning. journal Wait until mongod has applied the write to the journal. エラー / 例外 Throws MongoDB\Driver\Exception\I ...
https://man.mtool.work/php/8.3/mongodb-driver-writeconcern.construct.html
ZMQPoll::poll — Poll the items | PHP 8.3 8006
ZMQPoll::poll (PECL zmq >= 0.5.0) ZMQPoll::poll — Poll the items 説明 public function ZMQPoll::poll ( array &$readable , array &$writable , int $timeout = -1 ): int Polls the items in the current poll set. The readable and writable items ar ... . The array will be cleared at the beginning of the operation. timeout Timeout for the operation. -1 means that poll waits until at least one item has activity. Please note that starting from version 1.0.0 the poll timeout is defined in milliseconds, ... */ $readable = array(); $writable = array(); while ( true ) { /* Amount of events retrieved */ $events = 0 ; try { /* Poll until there is something to do */ $events = $poll -> poll ( $readable , $writable , - 1 ); $errors = $poll -> getLastErrors (); ...
https://man.mtool.work/php/8.3/zmqpoll.poll.html
The EvTimer class | PHP 8.3 7860
The EvTimer class (PECL ev >= 0.2.0) はじめに EvTimer watchers are simple relative timers that generate an event after a given time, and optionally repeating in regular intervals after that. The timers are based on real time, that is, if on ... s reached. If it is positive, then the timer will automatically be configured to trigger again every repeat seconds later, until stopped manually. remaining Returns the remaining time until a timer fires. If the timer is active, then this time is rela ...
https://man.mtool.work/php/8.3/class.evtimer.html
Yac::delete — Remove items from cache | PHP 8.3 7860
Yac::delete (PECL yac >= 1.0.0) Yac::delete — Remove items from cache 説明 public function Yac::delete ( string | array $key , int $delay = 0 ): bool Removes one or more items from the cache. 注意 : Deletion is implemented by marking the en ... try expired rather than clearing its slot: the entry immediately stops being readable, but the slot stays occupied until the same key is stored again or a later write reclaims the slot. As a result, the used-slot count reported by Yac::info() ... does not decrease after a deletion, and Yac::dump() still lists the deleted entry until its slot is recycled; a non-zero ttl in the past marks a deleted or expired entry, so when inspecting the output of Yac::d ...
https://man.mtool.work/php/8.3/yac.delete.html
The Event class | PHP 8.3 7699
The Event class (PECL event >= 1.2.6-beta) はじめに Event class represents and event firing on a file descriptor being ready to read from or write to; a file descriptor becoming ready to read from or write to(edge-triggered I/O only); a tim ... ing; a signal occurring; a user-triggered event. Every event is associated with EventBase . However, event will never fire until it is added (via Event::add() ). An added event remains in pending state until the registered event occurs, thus turning i ...
https://man.mtool.work/php/8.3/class.event.html
PREV 1 2 3 4 5 6 NEXT