« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for commandStarted (0.001 sec.)
MongoDB\Driver\Monitoring\CommandSubscriber::commandStarted — Notification meth... 11180
MongoDB\Driver\Monitoring\CommandSubscriber::commandStarted (mongodb >=1.3.0) MongoDB\Driver\Monitoring\CommandSubscriber::commandStarted — Notification method for a started command 説明 abstract public function MongoDB\Driver\Monitoring\Co ... mmandSubscriber::commandStarted ( MongoDB\Driver\Monitoring\CommandStartedEvent $event ): void If the subscriber is registered, this method is called when ... a command is sent to the server. パラメータ event ( MongoDB\Driver\Monitoring\CommandStartedEvent ) An event object encapsulating information about the started command. 戻り値 値を返しません。 エラー / 例外 Throws M ... ongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 参考 MongoDB\Driver\Monitoring\CommandStartedEvent MongoDB\Driver\Monitoring\addSubscriber() - Registers a monitoring event subscriber globally MongoDB\Driver\Manager:: ...
https://man.mtool.work/php/8.3/mongodb-driver-monitoring-commandsubscriber.comma...
Application Performance Monitoring (APM) | PHP 8.3 9952
Application Performance Monitoring (APM) The extension contains an event subscriber API, which allows applications to monitor commands and internal activity pertaining to the » Server Discovery and Monitoring Specification . This tutorial w ... r\Monitoring\CommandSubscriber interface. The MongoDB\Driver\Monitoring\CommandSubscriber interface defines three methods: commandStarted , commandSucceeded , and commandFailed . Each of these three methods accept a single event argument of a specific class fo ... r our subscriber: <?php class QueryTimeCollector implements \MongoDB\Driver\Monitoring\CommandSubscriber { public function commandStarted ( \MongoDB\Driver\Monitoring\CommandStartedEvent $event ): void { } public function commandSucceeded ( \MongoDB\Driver\Mon ... to implement the logic in the subscriber class. To correlate the two events that make up a successfully executed command (commandStarted and commandSucceeded), each event object exposes a requestId field. To record the average time per query shape, we will st ...
https://man.mtool.work/php/8.3/mongodb.tutorial.apm.html
The MongoDB\Driver\Monitoring\CommandSubscriber interface | PHP 8.3 6752
The MongoDB\Driver\Monitoring\CommandSubscriber interface (mongodb >=1.3.0) はじめに Classes may implement this interface to register an event subscriber that is notified for each started, successful, and failed command event. See Applicati ... tract public function commandFailed ( MongoDB\Driver\Monitoring\CommandFailedEvent $event ): void abstract public function commandStarted ( MongoDB\Driver\Monitoring\CommandStartedEvent $event ): void abstract public function commandSucceeded ( MongoDB\Driver\ ... g\CommandSubscriber::commandFailed — Notification method for a failed command MongoDB\Driver\Monitoring\CommandSubscriber::commandStarted — Notification method for a started command MongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded — Notification m ...
https://man.mtool.work/php/8.3/class.mongodb-driver-monitoring-commandsubscriber...
PREV 1 NEXT