Results of 1 - 10 of about 28 for Subscriber (0.002 sec.)
- MongoDB\Driver\Manager::addSubscriber — Registers a monitoring event subscriber... 12158
- MongoDB\Driver\Manager::addSubscriber (mongodb >=1.10.0) MongoDB\Driver\Manager::addSubscriber — Registers a monitoring event subscriber with this Manager 説明 final public function MongoDB\Driver\Manager::addSubscriber ( MongoDB\Driver\Mon
... itoring\Subscriber $subscriber ): void Registers a monitoring event subscriber with this Manager. The subscriber will be notified of all even ... ts for this Manager. 注意 : If subscriber is already registered with this Manager, this function is a no-op. If subscriber is also registered globally, it will stil ... l only be notified once of each event for this Manager. パラメータ subscriber ( MongoDB\Driver\Monitoring\Subscriber ) A monitoring event subscriber to register with this Manager. 戻り値 値を返しません ...
-
https://man.mtool.work/php/8.3/mongodb-driver-manager.addsubscriber.html
- MongoDB\Driver\Monitoring\addSubscriber — Registers a monitoring event subscrib... 12076
- MongoDB\Driver\Monitoring\addSubscriber (mongodb >=1.3.0) MongoDB\Driver\Monitoring\addSubscriber — Registers a monitoring event subscriber globally 説明 function MongoDB\Driver\Monitoring\addSubscriber ( MongoDB\Driver\Monitoring\Subscriber
... r $subscriber ): void Registers a monitoring event subscriber globally. The subscriber will be notified of all events in the extension f ... or any Manager. 注意 : If subscriber is already registered globally, this function is a no-op. If subscriber is also registered with one or more Managers, it w ... ill still only be notified once of each event for each Manager. パラメータ subscriber ( MongoDB\Driver\Monitoring\Subscriber ) A monitoring event subscriber to register globally. 戻り値 値を返しません。 エラー ...
-
https://man.mtool.work/php/8.3/function.mongodb.driver.monitoring.addsubscriber....
- MongoDB\Driver\Monitoring\removeSubscriber — Unregisters a monitoring event sub... 11896
- MongoDB\Driver\Monitoring\removeSubscriber (mongodb >=1.3.0) MongoDB\Driver\Monitoring\removeSubscriber — Unregisters a monitoring event subscriber globally 説明 function MongoDB\Driver\Monitoring\removeSubscriber ( MongoDB\Driver\Monitorin
... g\Subscriber $subscriber ): void Unregisters a monitoring event subscriber globally. 注意 : If subscriber is not already registered glo ... bally, this function is a no-op. パラメータ subscriber ( MongoDB\Driver\Monitoring\Subscriber ) A monitoring event subscriber to unregister globally. 戻り値 値を返しません。 エラ ... 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 参考 MongoDB\Driver\Monitoring\addSubscriber() - Registers a monitoring event subscriber globally MongoDB\Driver\Monitoring\Subscriber MongoDB\Driver\Monitoring\Comman ...
-
https://man.mtool.work/php/8.3/function.mongodb.driver.monitoring.removesubscrib...
- MongoDB\Driver\Manager::removeSubscriber — Unregisters a monitoring event subsc... 11847
- MongoDB\Driver\Manager::removeSubscriber (mongodb >=1.10.0) MongoDB\Driver\Manager::removeSubscriber — Unregisters a monitoring event subscriber with this Manager 説明 final public function MongoDB\Driver\Manager::removeSubscriber ( MongoDB
... \Driver\Monitoring\Subscriber $subscriber ): void Unregisters a monitoring event subscriber with this Manager. 注意 : If subscriber is not already regis ... tered with this Manager, this function is a no-op. パラメータ subscriber ( MongoDB\Driver\Monitoring\Subscriber ) A monitoring event subscriber to unregister with this Manager. 戻り値 値を返しませ ... 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 参考 MongoDB\Driver\Manager::addSubscriber() - Registers a monitoring event subscriber with this Manager MongoDB\Driver\Monitoring\Subscriber MongoDB\Driver\Monitori ...
-
https://man.mtool.work/php/8.3/mongodb-driver-manager.removesubscriber.html
- Application Performance Monitoring (APM) | PHP 8.3 9012
- 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
... ill demonstrate command monitoring using the MongoDB\Driver\Monitoring\CommandSubscriber interface. The MongoDB\Driver\Monitoring\CommandSubscriber interface defines three methods: commandStarted , commandSuccee ... ceeded 's event argument is a MongoDB\Driver\Monitoring\CommandSucceededEvent object. In this tutorial we will implement a subscriber that creates a list of all the query profiles and the average time they took. Subscriber Class Scaffolding We start with t ... he framework for our subscriber: <?php class QueryTimeCollector implements \MongoDB\Driver\Monitoring\CommandSubscriber { public function commandStarted ( ...
-
https://man.mtool.work/php/8.3/mongodb.tutorial.apm.html
- The MongoDB\Driver\Manager class | PHP 8.3 7996
- The MongoDB\Driver\Manager class (mongodb >=1.0.0) はじめに The MongoDB\Driver\Manager is the main entry point to the extension. It is responsible for maintaining connections to MongoDB (be it standalone server, replica set, or sharded clus
... e wrapped in try/catch statements. クラス概要 final class MongoDB\Driver\Manager { /* メソッド */ final public function addSubscriber ( MongoDB\Driver\Monitoring\Subscriber $subscriber ): void final public function __construct ( ? string $uri = null , ? ar ... ion getServers (): array final public function getWriteConcern (): MongoDB\Driver\WriteConcern final public function removeSubscriber ( MongoDB\Driver\Monitoring\Subscriber $subscriber ): void final public function selectServer ( ? MongoDB\Driver\ReadPrefe ... er)#1 (2) { ["uri"]=> string(26) "mongodb://127.0.0.1:27017/" ["cluster"]=> array(0) { } } 目次 MongoDB\Driver\Manager::addSubscriber — Registers a monitoring event subscriber with this Manager MongoDB\Driver\Manager::__construct — Create new MongoDB Manag ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-manager.html
- MongoDB\Driver\Monitoring\SDAMSubscriber::serverClosed — Notification method fo... 7898
- MongoDB\Driver\Monitoring\SDAMSubscriber::serverClosed (mongodb >=1.13.0) MongoDB\Driver\Monitoring\SDAMSubscriber::serverClosed — Notification method for closing a server 説明 abstract public function MongoDB\Driver\Monitoring\SDAMSubscriber
... er::serverClosed ( MongoDB\Driver\Monitoring\ServerClosedEvent $event ): void If the subscriber is registered, this method is called when an existing server is removed from the topology. パラメータ event ( MongoDB\Driv ... rgumentException on argument parsing errors. 参考 MongoDB\Driver\Monitoring\ServerClosedEvent MongoDB\Driver\Monitoring\addSubscriber() - Registers a monitoring event subscriber globally MongoDB\Driver\Manager::addSubscriber() - Registers a monitoring even ... t subscriber with this Manager ...
-
https://man.mtool.work/php/8.3/mongodb-driver-monitoring-sdamsubscriber.servercl...
- MongoDB\Driver\Monitoring\SDAMSubscriber::serverOpening — Notification method f... 7898
- MongoDB\Driver\Monitoring\SDAMSubscriber::serverOpening (mongodb >=1.13.0) MongoDB\Driver\Monitoring\SDAMSubscriber::serverOpening — Notification method for opening a server 説明 abstract public function MongoDB\Driver\Monitoring\SDAMSubscriber
... iber::serverOpening ( MongoDB\Driver\Monitoring\ServerOpeningEvent $event ): void If the subscriber is registered, this method is called when a new server is added to the topology. パラメータ event ( MongoDB\Driver\Monitor ... gumentException on argument parsing errors. 参考 MongoDB\Driver\Monitoring\ServerOpeningEvent MongoDB\Driver\Monitoring\addSubscriber() - Registers a monitoring event subscriber globally MongoDB\Driver\Manager::addSubscriber() - Registers a monitoring even ... t subscriber with this Manager ...
-
https://man.mtool.work/php/8.3/mongodb-driver-monitoring-sdamsubscriber.serverop...
- MongoDB\Driver\Monitoring\CommandSubscriber::commandStarted — Notification meth... 7865
- 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 metho ... umentException on argument parsing errors. 参考 MongoDB\Driver\Monitoring\CommandStartedEvent MongoDB\Driver\Monitoring\addSubscriber() - Registers a monitoring event subscriber globally MongoDB\Driver\Manager::addSubscriber() - Registers a monitoring even ... t subscriber with this Manager Application Performance Monitoring (APM) ...
-
https://man.mtool.work/php/8.3/mongodb-driver-monitoring-commandsubscriber.comma...
- MongoDB\Driver\Monitoring\SDAMSubscriber::serverHeartbeatFailed — Notification ... 7865
- MongoDB\Driver\Monitoring\SDAMSubscriber::serverHeartbeatFailed (mongodb >=1.13.0) MongoDB\Driver\Monitoring\SDAMSubscriber::serverHeartbeatFailed — Notification method for a failed server heartbeat 説明 abstract public function MongoDB\Dri
... ver\Monitoring\SDAMSubscriber::serverHeartbeatFailed ( MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent $event ): void If the subscriber is register ... ception on argument parsing errors. 参考 MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent MongoDB\Driver\Monitoring\addSubscriber() - Registers a monitoring event subscriber globally MongoDB\Driver\Manager::addSubscriber() - Registers a monitoring even ... t subscriber with this Manager ...
-
https://man.mtool.work/php/8.3/mongodb-driver-monitoring-sdamsubscriber.serverhe...