« MongoDB\Driver\Monitoring\CommandSubscriber::commandFailed
MongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded »

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\CommandSubscriber::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.

戻り値

値を返しません。

エラー / 例外

参考

関連キーワード:
MongoDB   Driver   Monitoring   CommandSubscriber   command   event   method   started   Notification   commandStarted   CommandStartedEvent   subscriber   addSubscriber   Registers   monitoring   Manager   commandFailed   commandSucceeded   mongodb   abstract   registered   called   sent   server   encapsulating
関連する関数・ページ:
mongodb-driver-monitoring-commandsubscriber.commandfailed   mongodb-driver-monitoring-commandsubscriber.commandsucceeded   class.mongodb-driver-monitoring-commandsubscriber   mongodb-driver-monitoring-sdamsubscriber.serverheartbeatstarted   ref.monitoring.functions   mongodb.monitoring