« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 74 for calls (0.001 sec.)
The Yar_Concurrent_Client class | PHP 8.3 13278
The Yar_Concurrent_Client class (No version information available, might only be in Git) はじめに A static helper that batches remote RPC calls. Calls registered with Yar_Concurrent_Client::call() are not sent immediately; they are all disp ... n parallel, by Yar_Concurrent_Client::loop() . The class is meant for applications that need the results of several remote calls. Only independent calls — ones that do not need each other's results — can be batched this way; when one call depends on t ... he result of another, the two have to run sequentially. Through Yar_Client the calls are sent one after another, each paying its full round-trip time; with the concurrent client they are sent at the same tim ... l waiting time drops to the duration of the single slowest call. 注意 : Only HTTP(S) services are supported for concurrent calls. They are sent concurrently through curl's multi-handle interface, which the TCP/Unix socket transport does not implement. ...
https://man.mtool.work/php/8.3/class.yar-concurrent-client.html
Yar_Concurrent_Client::loop — Send and wait for all registered calls | PHP 8.3 12038
Yar_Concurrent_Client::loop (PECL yar >= 1.0.0) Yar_Concurrent_Client::loop — Send and wait for all registered calls 説明 public static function Yar_Concurrent_Client::loop ( ? callable $callback = null , ? callable $error_callback = null , ... ? array $options = null ): ? bool Sends all calls registered with Yar_Concurrent_Client::call() in parallel and blocks until every response has arrived and been handled. Th ... e call list is emptied when this method returns. Because the calls run simultaneously, the loop takes only as long as the slowest single call rather than the sum of all calls. The callbacks ... , however, are not invoked in the order the calls were registered: a callback fires as soon as its response arrives. To find out which call a response belongs to, check the ...
https://man.mtool.work/php/8.3/yar-concurrent-client.loop.html
scoutapm_get_calls — 収集する処理が呼ばれた情報の一覧を返す | PHP 8.3 11146
scoutapm_get_calls (PECL scoutapm >= 1.0.0) scoutapm_get_calls — 収集する処理が呼ばれた情報の一覧を返す 説明 function scoutapm_get_calls (): array scoutapm_get_calls() が最後に呼び出された後から行われた、 収集対象の関数が呼ばれた全ての情報の ... す。 この関数が呼ばれるごとに、リストはクリアされます。 パラメータ この関数にはパラメータはありません。 戻り値 scoutapm_get_calls() は、 収集対象の関数に対する、全ての記録された呼び出しのリストを配列として返します。 例 例1 収集された呼び出しを取得する ... <?php file_get_contents ( 'a.txt' ); file_get_contents ( 'b.txt' ); print_r ( scoutapm_get_calls ()); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [0] => Array ( [function] => file_get_contents [entered] = ...
https://man.mtool.work/php/8.3/function.scoutapm-get-calls.html
EventBuffer::freeze — Prevent calls that modify an event buffer from succeeding... 9293
EventBuffer::freeze (PECL event >= 1.2.6-beta) EventBuffer::freeze — Prevent calls that modify an event buffer from succeeding 説明 public function EventBuffer::freeze ( bool $at_front ): bool Prevent calls that modify an event buffer from ... d of the buffer. 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 EventBuffer::unfreeze() - Re-enable calls that modify an event buffer 他のマニュアルの関連ページ Linux JM lgetxattr(2) Linux JM getxattr(2) Linux JM fgetxattr(2) Li ...
https://man.mtool.work/php/8.3/eventbuffer.freeze.html
EventBuffer::unfreeze — Re-enable calls that modify an event buffer | PHP 8.3 9293
EventBuffer::unfreeze (PECL event >= 1.2.6-beta) EventBuffer::unfreeze — Re-enable calls that modify an event buffer 説明 public function EventBuffer::unfreeze ( bool $at_front ): bool Re-enable calls that modify an event buffer. パラメータ ... e end of the buffer. 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 EventBuffer::freeze() - Prevent calls that modify an event buffer from succeeding 他のマニュアルの関連ページ Linux JM lgetxattr(2) Linux JM getxattr(2) Linux JM ...
https://man.mtool.work/php/8.3/eventbuffer.unfreeze.html
The parallel\Channel class | PHP 8.3 9112
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 ... fastest way to share data among tasks, 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 ...
https://man.mtool.work/php/8.3/class.parallel-channel.html
Yar_Concurrent_Client::call — Register a concurrent call | PHP 8.3 9112
Yar_Concurrent_Client::call (PECL yar >= 1.0.0) Yar_Concurrent_Client::call — Register a concurrent call 説明 public static function Yar_Concurrent_Client::call ( string $uri , string $method , ? array $parameters = null , ? callable $callb ... ray $options = null ): int | false | null Registers a remote RPC call. The request is not sent immediately; all registered calls are sent together by Yar_Concurrent_Client::loop() , and the responses are handled as they arrive. 注意 : Only HTTP and HT ... TPS URIs are supported. Concurrent calls are sent simultaneously using curl's multi-handle interface, and the TCP/Unix socket transport does not provide this facil ... rns false when the concurrent client is already inside Yar_Concurrent_Client::loop() or when the maximum of 128 registered calls is reached; in both cases a warning is raised. Returns null if the URI or method name is empty, or the URI is not an HTTP( ...
https://man.mtool.work/php/8.3/yar-concurrent-client.call.html
mqseries_put1 — MQSeries MQPUT1 | PHP 8.3 8582
mqseries_put1 (PECL mqseries >= 0.10.0) mqseries_put1 — MQSeries MQPUT1 説明 function mqseries_put1 ( resource $hconn , resource &$objDesc , resource &$msgDesc , resource &$pmo , string $buffer , resource &$compCode , resource &$reason ): v ... UT1) call puts one message on a queue. The queue need not be open. You can use both the mqseries_put() and mqseries_put1() calls to put messages on a queue; which call to use depends on the circumstances. Use the mqseries_put() (MQPUT) call to place m ... he mqseries_put1() (MQPUT1) call to put only one message on a queue. This call encapsulates the MQOPEN, MQPUT, and MQCLOSE calls into a single call, minimizing the number of calls that must be issued. パラメータ hConn Connection handle. This handle re ...
https://man.mtool.work/php/8.3/function.mqseries-put1.html
Yar_Concurrent_Client::reset — Clean all registered calls | PHP 8.3 8582
Yar_Concurrent_Client::reset (PECL yar >= 1.2.4) Yar_Concurrent_Client::reset — Clean all registered calls 説明 public static function Yar_Concurrent_Client::reset (): bool Discards all calls registered with Yar_Concurrent_Client::call() th ... ar_Concurrent_Client::call() - Register a concurrent call Yar_Concurrent_Client::loop() - Send and wait for all registered calls 他のマニュアルの関連ページ Python concurrent Django 2.2.9 Django 1.11.27 Django 3.0.1 Linux JM _exit(2) Linux JM _Exit(2) ...
https://man.mtool.work/php/8.3/yar-concurrent-client.reset.html
例 | PHP 8.3 8582
例 The examples below walk through a complete service: a server that exposes a few arithmetic methods, a synchronous client that calls them, a client that fans several calls out concurrently, and a client that talks to a server over TCP. 例 ... * 例4 Yar Concurrent Client Example Instead of calling services one after another, Yar_Concurrent_Client registers several calls first and then dispatches them all at once with Yar_Concurrent_Client::loop() . The responses are passed to the callback i ... n the order they arrive, not in the order the calls were registered. Right after all requests have been sent, the callback is invoked once with null arguments so that the cal ... , "\n" ; } function error_callback ( $type , $error , $callinfo ) { error_log ( "[ $type ] $error " ); } /* register async calls to remote services */ Yar_Concurrent_Client :: call ( "http://api.example.com/operator.php" , "add" , array( 1 , 2 ), "cal ...
https://man.mtool.work/php/8.3/yar.examples.html
PREV 1 2 3 4 5 6 7 8 NEXT